Class AbstractTypeMapper

  • All Implemented Interfaces:
    ITypeMapper

    public class AbstractTypeMapper
    extends java.lang.Object
    implements ITypeMapper
    Default implementation of a type mapper.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class mapType​(java.lang.Object object)
      Map the input object to a domain model type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractTypeMapper

        public AbstractTypeMapper()
    • Method Detail

      • mapType

        public java.lang.Class mapType​(java.lang.Object object)
        Description copied from interface: ITypeMapper
        Map the input object to a domain model type.
        Specified by:
        mapType in interface ITypeMapper
        Parameters:
        object - the input object.
        Returns:
        the type of the input object, mapped to the domain type if required.