Package | Description |
---|---|
com.edorasware.commons.core.persistence |
Classes for database persistence management and configuration thereof.
|
com.edorasware.commons.core.persistence.entity | |
com.edorasware.commons.core.persistence.entity.jdbc |
Modifier and Type | Class and Description |
---|---|
class |
BaseValueConverter<S,T>
Base class for converter implementations.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<? extends ValueConverter<?,?>> |
CompositeConverterProvider.getConverters(ConverterType converterType) |
com.google.common.collect.ImmutableList<? extends ValueConverter<?,?>> |
ConverterProvider.getConverters(ConverterType converterType)
Returns the converters that match the given converter class.
|
Modifier and Type | Class and Description |
---|---|
class |
LegacyVariableConverter<S,T>
These converters are only needed before the server has run the DB migration to simplify the gear data types.
|
class |
PropertyConverter<T>
Enumerates the default variable converters to convert from the basic Java type String to the two database types (String, LargeString).
|
class |
VariableConverter<S,T>
Enumerates the default variable converters to convert from the basic Java types (byte, short, int, long, float, double, boolean, character, String, ExpressionString, Date, Map,
List, Serializable) to the five database types (Long, Double, String, LargeString, byte[]).
|
Modifier and Type | Field and Description |
---|---|
static com.google.common.collect.ImmutableList<ValueConverter<String,?>> |
PropertyConverter.ALL |
static com.google.common.collect.ImmutableList<ValueConverter<?,?>> |
VariableConverter.ALL |
Modifier and Type | Method and Description |
---|---|
static <S,T> ValueConverter<S,T> |
EntityConverterUtils.getConverterByName(String converterName,
List<? extends ValueConverter<S,T>> converters)
Returns the converter with the given name.
|
static <S,T> ValueConverter<S,T> |
EntityConverterUtils.getConverterBySourceValue(Object sourceValue,
List<? extends ValueConverter<S,T>> converters)
Returns the converter that can handle the given source value.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<? extends ValueConverter<?,?>> |
CommonsEntityConverterProvider.getConverters(ConverterType converterType) |
static com.google.common.collect.ImmutableList<? extends ValueConverter<String,Object>> |
EntityConverterUtils.getPropertyConverters(ConverterProvider converterProvider)
Returns all property converters.
|
static com.google.common.collect.ImmutableList<? extends ValueConverter<Object,Object>> |
EntityConverterUtils.getVariableConverters(ConverterProvider converterProvider)
Returns all variable converters.
|
Modifier and Type | Method and Description |
---|---|
static <S,T> ValueConverter<S,T> |
EntityConverterUtils.getConverterByName(String converterName,
List<? extends ValueConverter<S,T>> converters)
Returns the converter with the given name.
|
static <S,T> ValueConverter<S,T> |
EntityConverterUtils.getConverterBySourceValue(Object sourceValue,
List<? extends ValueConverter<S,T>> converters)
Returns the converter that can handle the given source value.
|
Modifier and Type | Method and Description |
---|---|
ValueConverter<String,?> |
DbProperty.getPropertyConverter() |
ValueConverter<?,?> |
DbVariable.getVariableConverter() |
Constructor and Description |
---|
PropertyParameter(String id,
String name,
ValueConverter<?,?> propertyConverter,
String stringValue,
LargeString largeStringValue,
String objectDefinitionIdRef,
String objectDefinitionId,
Instant creationTime) |
VariableParameter(String id,
String name,
ValueConverter<?,?> variableConverter,
Long longValue,
Double doubleValue,
String stringValue,
LargeString largeStringValue,
byte[] binaryValue,
Integer index,
String parentIdRef,
String rootIdRef,
String objectIdRef,
String objectId,
Instant creationTime) |
Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.