Class ItemToLicenseConverter

    • Constructor Detail

      • ItemToLicenseConverter

        public ItemToLicenseConverter()
    • Method Detail

      • convert

        public License convert​(Item source)
                        throws ConversionException
        Description copied from interface: Converter
        Convert the source of type S to target type T.
        Specified by:
        convert in interface Converter<Item,​License>
        source - the source object to converter, which must be an instance of S
        the converted object, which must be an instance of T
        ConversionException - if the source could not be converted to the desired target type
      • newTarget

        public License newTarget()