Class ItemsToValidationResultConverter
java.lang.Object
com.labs64.netlicensing.schema.converter.ItemsToValidationResultConverter
- All Implemented Interfaces:
Converter<Netlicensing,
ValidationResult>
public class ItemsToValidationResultConverter
extends Object
implements Converter<Netlicensing,ValidationResult>
Convert
Netlicensing.Items
object into ValidationResult
entity.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconvert
(Netlicensing source) Convert the source of type S to target type T.
-
Constructor Details
-
ItemsToValidationResultConverter
public ItemsToValidationResultConverter()
-
-
Method Details
-
convert
Description copied from interface:Converter
Convert the source of type S to target type T.- Specified by:
convert
in interfaceConverter<Netlicensing,
ValidationResult> - 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
-