Class AbstractConverter<S,​T>

    • Constructor Detail

      • AbstractConverter

        public AbstractConverter​(Class<S> sourceClass,
                                 Class<T> targetClass)
    • Method Detail

      • getSourceClass

        public final Class<S> getSourceClass()
        Specified by:
        getSourceClass in interface Converter<S,​T>
        Returns:
        The class of source objects.
      • getWrappedSourceClass

        public final Class<S> getWrappedSourceClass()
        Specified by:
        getWrappedSourceClass in interface Converter<S,​T>
        Returns:
        The wrapped type of source class.
        If source class is the class of a primitive type, returns the class of corresponding boxing type.
      • getTargetClass

        public final Class<T> getTargetClass()
        Specified by:
        getTargetClass in interface Converter<S,​T>
        Returns:
        The class of target objects.
      • getWrappedTargetClass

        public final Class<T> getWrappedTargetClass()
        Specified by:
        getWrappedTargetClass in interface Converter<S,​T>
        Returns:
        The wrapped type of target class. If target class is the class of a primitive type, returns the class of corresponding boxing type.