| Modifier and Type | Interface and Description |
|---|---|
interface |
BoundMapperFacade<A,B>
BoundMapperFacade represents a caching mapper configuration
which is bound to a given pair of types.
|
interface |
Converter<S,D>
Converter is used to provide direct conversion from one type to another,
useful for those scenarios where complete control over the mapping is
desired.
Note that an instance of the current MapperFacade is provided in the convert method for cases where you only want to control a
specific portion of the mapping, but wish to delegate some or all of the
mapping of the nested types. |
interface |
Filter<A,B>
Filter defines the contract for manipulating the runtime behavior of
generated mappers.
|
interface |
Mapper<A,B>
Defines a contract between internal parts of Orika such as
MapperFacade, MapperGenerator,
MapperFactory and generated mappers. |
interface |
MappingStrategy
MappingStrategy defines the contract for a pre-resolved classification of mapping
which may be cached for quick lookup based on raw inputs.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CustomConverter<S,D>
CustomConverterBase provides a utility base for creating customized converters,
which determines type parameters automatically.
|
class |
CustomFilter<A,B>
CustomFilter provides the base implementation of Filter.
|
protected static class |
CustomFilter.MappedTypePairHolder<A,B>
Simple implementation of MappedTypePair that holds the given pair of types.
|
class |
CustomMapper<A,B>
Abstract super-class for all generated mappers and user custom mappers.
|
static class |
MapperBase.MapperBaseAdapter<A,B>
Deprecated.
Provides backward-compatibility for custom mappers that extend
the deprecated MapperBase.
|
class |
NullFilter<A,B>
A filter that does no filtering.
|
| Modifier and Type | Method and Description |
|---|---|
protected MappedTypePair<A,B> |
CustomFilter.inferTypes()
Infer A-type and B-type from the generic arguments.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BidirectionalConverter<S,D>
A custom converter that can be extended for mapping from one type to another
in both directions
|
static class |
BidirectionalConverter.Reversed<S,D>
Provides a reversed facade to a given converter
|
| Modifier and Type | Class and Description |
|---|---|
class |
CloneableConverter
CloneableConverter allows configuration of a number of specific types which
should be cloned directly instead of creating a mapped copy.
This allows you to declare your own set of types which should be cloned instead of mapped. |
class |
ConstructorConverter
ConstructorConverter will converter from one type to another if there exists
a constructor for the destinationType with a single argument matching the
type of the source.
|
class |
CopyByReferenceConverter
CopyByReferenceConverter handles conversion of Orika's built-in immutable
types, as well as anything-to-Object, and primitive to Wrapper conversions
|
static class |
DateAndTimeConverters.CalendarToSqlDateConverter
Provides conversion between Calendar and java.sql.Date
|
static class |
DateAndTimeConverters.CalendarToTimeConverter
Provides conversion between Calendar and Time
|
static class |
DateAndTimeConverters.CalendarToXmlGregorianCalendarConverter
Provides conversion between Calendar and XMLGregorianCalendar
|
static class |
DateAndTimeConverters.DateToCalendarConverter
Provides conversion between Date and Calendar
|
static class |
DateAndTimeConverters.DateToSqlDateConverter
Provides conversion between Date and java.sql.Date
|
static class |
DateAndTimeConverters.DateToTimeConverter
Provides conversion between Date and Time
|
static class |
DateAndTimeConverters.DateToTimestampConverter
Provides conversion between Calendar and Time
|
static class |
DateAndTimeConverters.DateToXmlGregorianCalendarConverter
Provides conversion between Date and XMLGregorianCalendar
|
static class |
DateAndTimeConverters.LongToCalendarConverter
Provides conversion between Long and Calendar
|
static class |
DateAndTimeConverters.LongToDateConverter
Provides conversion between Long and Date
|
static class |
DateAndTimeConverters.LongToSqlDateConverter
Provides conversion between Long and Date
|
static class |
DateAndTimeConverters.LongToTimeConverter
Provides conversion between Long and Date
|
static class |
DateAndTimeConverters.LongToTimestampConverter
Provides conversion between Long and Timestamp
|
static class |
DateAndTimeConverters.LongToXmlGregorianCalendarConverter
Provides conversion between Long and Calendar
|
static class |
DateAndTimeConverters.TimestampToCalendarConverter
Provides conversion between Timestamp and Calendar
|
static class |
DateAndTimeConverters.TimestampToSqlDateConverter
Provides conversion between Timestamp and java.sql.Date
|
static class |
DateAndTimeConverters.TimestampToTimeConverter
Provides conversion between Timestamp and Time
|
static class |
DateAndTimeConverters.TimeToSqlDateConverter
Provides conversion between Time and java.sql.Date
|
static class |
DateAndTimeConverters.XmlGregorianCalendarToSqlDateConverter
Provides conversion between XMLGregorianCalendar and java.sql.Date
|
static class |
DateAndTimeConverters.XmlGregorianCalendarToTimeConverter
Provides conversion between XMLGregorianCalendar and Time
|
static class |
DateAndTimeConverters.XmlGregorianCalendarToTimestampConverter
Provides conversion between Calendar and Time
|
class |
DateToStringConverter
DateToStringConverter provides custom conversion from String values to and
from Date instances, based on a provided date format pattern.
The format is applied based on the rules defined in SimpleDateFormat. |
class |
EnumConverter
EnumConverter is used to convert from one enum to another, based on exact
name match
|
class |
FromStringConverter
FromStringConverter provides conversion from String to one of the following
categories of type, depending on the destination:
enum
primitive
primitive wrapper
|
class |
GuavaOptionalConverter<S,D>
Converter which will convert one Optional field into another optional field.
|
static class |
NumericConverters.BigDecimalToDoubleConverter
Provides conversion between BigDecimal and Double.
Note: please consider the typical warnings regarding loss of precision when converting from BigDecimal to Double. |
static class |
NumericConverters.BigDecimalToFloatConverter
Provides conversion between BigDecimal and Float.
Note: please consider the typical warnings regarding loss of precision when converting from BigDecimal to Float. |
static class |
NumericConverters.BigIntegerToIntegerConverter
Provides conversion between BigInteger and Integer
|
static class |
NumericConverters.BigIntegerToLongConverter
Provides conversion between BigInteger and Long.
|
static class |
NumericConverters.DoubleToIntegerConverter
Provides conversion between Integer and Integer
|
static class |
NumericConverters.DoubleToLongConverter
Provides conversion between Long and Integer
|
static class |
NumericConverters.DoubleToShortConverter
Provides conversion between Short and Short
|
static class |
NumericConverters.FloatToIntegerConverter
Provides conversion between Integer and Integer
|
static class |
NumericConverters.FloatToLongConverter
Provides conversion between Long and Integer
|
static class |
NumericConverters.FloatToShortConverter
Provides conversion between Short and Short
|
static class |
NumericConverters.IntegerToShortConverter
Provides conversion between Integer and Short
|
static class |
NumericConverters.LongToIntegerConverter
Provides conversion between Long and Integer
|
static class |
NumericConverters.LongToShortConverter
Provides conversion between Long and Short
|
class |
PassThroughConverter
PassThroughConverter allows configuration of a number of specific types which
should be passed through (as-is) without creating a mapped copy.
This allows you to declare your own set of types which should be treated by Orika as if they were in the set of immutable types. |
class |
ToStringConverter
Converts any object to string
|
class |
WrapperToPrimitiveConverter
Provides wrapper to primitives conversion
|
| Modifier and Type | Class and Description |
|---|---|
class |
AggregateFilter
AggregateFilter provides the capability to combine multiple
filters together to act as a single filter
|
class |
GeneratedMapperBase |
class |
MultipleMapperWrapper
|
class |
ReversedMapper<A,B>
ReversedMapper is used to wrap an existing mapper and reverse it's direction
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractMappingStrategy
AbstractMappingStrategy provides base MappingStrategy functionality
|
class |
CopyByReferenceStrategy
CopyByReferenceStrategy copies the source reference directly to the
destination
|
class |
InstantiateAndUseCustomMapperStrategy
InstantiateAndUseCustomMapperStrategy uses a custom ObjectFactory and
a custom Mapper to map from source to destination type.
|
class |
InstantiateByDefaultAndUseCustomMapperStrategy
InstantiateByDefaultAndUseCustomMapperStrategy uses a custom mapper and creates instances
using the default constructor for the destination type.
|
class |
MapExistingAndUseCustomMapperStrategy
MapExistingAndUseCustomMapperStrategy maps in place using a custom mapper
|
class |
UseConverterStrategy |
class |
UseCustomMapperStrategy
UseCustomMapperStrategy uses a custom mapper to map the source to the destination
|
| Modifier and Type | Class and Description |
|---|---|
class |
CaseInsensitiveClassMapBuilder<A,B>
CaseInsensitiveClassMapBuilder is an extension of ClassMapBuilder which performs
case-insensitive matching of property names in the 'byDefault()' method.
|
class |
ClassMap<A,B>
ClassMap represents a mapping association from one type to another.
|
class |
ClassMapBuilder<A,B>
ClassMapBuilder provides a fluent API which can be used to define a mapping
from one class to another.
|
class |
ClassMapBuilderForArrays<A,B>
ClassMapBuilderForMaps is a custom ClassMapBuilder instance which is
used for mapping standard JavaBeans to Map instances.
|
class |
ClassMapBuilderForLists<A,B>
ClassMapBuilderForMaps is a custom ClassMapBuilder instance which is
used for mapping standard JavaBeans to Map instances.
|
class |
ClassMapBuilderForMaps<A,B>
ClassMapBuilderForMaps is a custom ClassMapBuilder instance which is
used for mapping standard JavaBeans to Map instances.
|
class |
FieldMap |
class |
MapperKey
MapperKey represents a key which can be used to store the types mapped by
a given Mapper.
|
class |
ScoringClassMapBuilder<A,B>
ScoringClassMapBuilder is an extension of the basic ClassMapBuilder that
attempts to compute a best-fit matching of all properties (at every level
of nesting) of one type to another, based on various metrics used to measure
a given property match.
Since this builder generates mappings based on scoring matches, it cannot always guess the correct mappings; be sure to test and double-check the mappings generated to assure they match expectations. Note: levenshtein distance implementation is pulled from code found in Apache Commons Lang org.apache.commons.lang.StringUtils, which is based on the implementation provided by Chas Emerick http://www.merriampark.com/ldjava.htm |
| Modifier and Type | Method and Description |
|---|---|
static <K,V extends MappedTypePair<Object,Object>> |
HashMapUtility.getConcurrentLinkedHashMap(int capacity)
Generates a new instance of ConcurrentLinkedHashMap with the specified max weighted capacity
|
Copyright © 2017 Glasnost. All Rights Reserved.