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 |
IdConverter
Converts from id types to uniquely identifiable string symbols and vice versa.
|
class |
IdentityLinkConverter<S extends Id>
Enumerates the default identity link converters to convert from the identity link types (candidate user, candidate group) to the string type.
|
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>> |
IdentityLinkConverter.ALL |
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.base.Optional<? extends ValueConverter<EntityId,String>> |
EntityConverterUtils.getEntityIdConverter(EntityId id,
ConverterProvider converterProvider)
Returns the first matching id converter for the given entity id.
|
static com.google.common.base.Optional<? extends ValueConverter<EntityId,String>> |
EntityConverterUtils.getEntityIdConverter(String typedIdValue,
ConverterProvider converterProvider)
Returns the first matching id converter for the given typed entity id value.
|
static com.google.common.base.Optional<? extends ValueConverter<EntityId,String>> |
EntityConverterUtils.getEntityIdConverter(String idValue,
String typeName,
ConverterProvider converterProvider)
Returns the first matching id converter for the given entity id value.
|
static com.google.common.collect.ImmutableList<? extends ValueConverter<EntityId,String>> |
EntityConverterUtils.getEntityIdConverters(ConverterProvider converterProvider)
Returns all id converters.
|
static com.google.common.collect.ImmutableList<? extends ValueConverter<Id,String>> |
EntityConverterUtils.getIdentityLinkConverters(ConverterProvider converterProvider)
Returns all identity link converters.
|
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(PropertyId id,
String name,
ValueConverter<?,?> propertyConverter,
String stringValue,
LargeString largeStringValue,
String objectDefinitionIdRef,
String objectDefinitionId,
Date creationTime) |
VariableParameter(VariableId 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,
Date creationTime) |
Copyright © 2010 - 2018 edorasware ag. All Rights Reserved.