Class ItemToLicensingModelPropertiesConverter
java.lang.Object
com.labs64.netlicensing.schema.converter.ItemToLicensingModelPropertiesConverter
- All Implemented Interfaces:
Converter<Item,
LicensingModelProperties>
public class ItemToLicensingModelPropertiesConverter
extends Object
implements Converter<Item,LicensingModelProperties>
Converts
Item
entity into an implementation of LicensingModelProperties
interface.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionConvert the source of type S to target type T.
-
Constructor Details
-
ItemToLicensingModelPropertiesConverter
public ItemToLicensingModelPropertiesConverter()
-
-
Method Details
-
convert
Description copied from interface:Converter
Convert the source of type S to target type T.- Specified by:
convert
in interfaceConverter<Item,
LicensingModelProperties> - Parameters:
source
- the source object to converter, which must be an instance of S- Returns:
- the converted object, which must be an instance of T
- Throws:
ConversionException
- if the source could not be converted to the desired target type
-