S
- the type of the input objectT
- the type of the domain objectpublic interface InputConverter<S,T>
The input should be a type that is only used in the REST layer of the application and which represents the data structure to be send by the consumer. This is typically a POJO containing Jackson annotations if needed.
Modifier and Type | Method and Description |
---|---|
List<T> |
convert(Iterable<? extends S> objects)
Converts all given input objects into domain objects.
|
T |
convert(S input)
Converts the given input object into a domain object.
|
void |
convert(S input,
T target)
Converts the given input object into the target object.
|