Uses of Interface
ma.glasnost.orika.MappedTypePair

Packages that use MappedTypePair
ma.glasnost.orika   
ma.glasnost.orika.converter   
ma.glasnost.orika.converter.builtin   
ma.glasnost.orika.impl   
ma.glasnost.orika.metadata   
 

Uses of MappedTypePair in ma.glasnost.orika
 

Subinterfaces of MappedTypePair in ma.glasnost.orika
 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 Mapper<A,B>
          Defines a contract between internal parts of Orika such as MapperFacade, MapperGenerator, MapperFactory and generated mappers.
 

Classes in ma.glasnost.orika that implement MappedTypePair
 class CustomConverter<S,D>
          CustomConverterBase provides a utility base for creating customized converters, which determines type parameters automatically.
 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.
 

Uses of MappedTypePair in ma.glasnost.orika.converter
 

Classes in ma.glasnost.orika.converter that implement MappedTypePair
 class BidirectionalConverter<S,D>
          A custom converter that can be extended for mapping from one type to another in both directions
 class BidirectionConverter<S,D>
          Deprecated. use BidirectionalConverter instead
static class Converter.LegacyConverter<S,D>
          Deprecated. LegacyConverter provides back-compatible support for the older version of converter.
 class CustomConverterBase<S,D>
          Deprecated. use CustomConverter instead
 class TypeConverter<S,D>
          Deprecated. use CustomConverter instead
 

Uses of MappedTypePair in ma.glasnost.orika.converter.builtin
 

Classes in ma.glasnost.orika.converter.builtin that implement MappedTypePair
 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.LongToXmlGregorianCalendarConverter
          Provides conversion between Long and Calendar
static class DateAndTimeConverters.SqlDateToDateConverter
          Provides conversion between Date and java.sql.Date
static class DateAndTimeConverters.TimeToDateConverter
          Provides conversion between Date and Time
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
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 StringToCharacterConverter
           
 class StringToEnumConverter
          Deprecated. use FromStringConverter instead
 class ToStringConverter
          Converts any object to string
 class WrapperToPrimitiveConverter
           
 

Uses of MappedTypePair in ma.glasnost.orika.impl
 

Classes in ma.glasnost.orika.impl that implement MappedTypePair
 class GeneratedMapperBase
           
 class NonCyclicBoundMapperFacade<A,B>
           
 class ReversedMapper<A,B>
          ReversedMapper is used to wrap an existing mapper and reverse it's direction
 

Uses of MappedTypePair in ma.glasnost.orika.metadata
 

Classes in ma.glasnost.orika.metadata that implement MappedTypePair
 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
 



Copyright © 2013 Glasnost. All Rights Reserved.