Class PartialResultReturnConverter

java.lang.Object
com.appiancorp.kougar.mapper.returns.AbstractReturnConverter
com.appiancorp.suiteapi.common.PartialResultReturnConverter
All Implemented Interfaces:
com.appiancorp.kougar.mapper.Converter, com.appiancorp.kougar.mapper.returns.FromDictionary, com.appiancorp.kougar.mapper.returns.FromNull, com.appiancorp.kougar.mapper.returns.ReturnConverter

public class PartialResultReturnConverter extends com.appiancorp.kougar.mapper.returns.AbstractReturnConverter implements com.appiancorp.kougar.mapper.returns.FromNull, com.appiancorp.kougar.mapper.returns.FromDictionary
  • Field Summary

    Fields inherited from interface com.appiancorp.kougar.mapper.Converter

    NULL_DOUBLE, NULL_INT, NULL_INTEGER, NULL_INTEGER_LONG, NULL_STRING
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    convert(Class d, com.appiancorp.kougar.mapper.returns.ReturnConversionMap m)
    Convert method if no list is provided.
    convert(Class targetClass, List lTuples, com.appiancorp.kougar.mapper.returns.ReturnConversionMap m)
    Convert method if list is provided.
    Provides the Converter with the conversion class type.

    Methods inherited from class com.appiancorp.kougar.mapper.returns.AbstractReturnConverter

    convert, findInList, getClassFromString

    Methods inherited from class java.lang.Object

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

    • PartialResultReturnConverter

      public PartialResultReturnConverter()
  • Method Details

    • getConversionClass

      public Class getConversionClass()
      Provides the Converter with the conversion class type.
      Specified by:
      getConversionClass in interface com.appiancorp.kougar.mapper.Converter
    • convert

      public Object convert(Class d, com.appiancorp.kougar.mapper.returns.ReturnConversionMap m)
      Convert method if no list is provided.
      Specified by:
      convert in interface com.appiancorp.kougar.mapper.returns.FromNull
    • convert

      public Object convert(Class targetClass, List lTuples, com.appiancorp.kougar.mapper.returns.ReturnConversionMap m) throws com.appiancorp.kougar.mapper.exceptions.ReturnException
      Convert method if list is provided.
      Specified by:
      convert in interface com.appiancorp.kougar.mapper.returns.FromDictionary
      Throws:
      com.appiancorp.kougar.mapper.exceptions.ReturnException