Class ItemToDataConverter

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      PK convert​(ItemModel source)
      Uses the source S object and produces an new instance of T.
      • Methods inherited from class java.lang.Object

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

      • ItemToDataConverter

        public ItemToDataConverter()
    • Method Detail

      • convert

        public PK convert​(ItemModel source)
        Description copied from interface: Converter
        Uses the source S object and produces an new instance of T.
        Specified by:
        convert in interface Converter<ItemModel,​PK>
        Parameters:
        source - the input to be converted.
        Returns:
        an instance of T, converted from the input source.