S
- the source type of the conversionT
- the target type of the conversionpublic class PropertyableToListItemConverter<S extends Propertyable,T extends IdentifiableEntityData> extends PojoTargetConverter<S,T>
Constructor and Description |
---|
PropertyableToListItemConverter(Class<T> clazz,
boolean includeProperties)
Create a new converter
|
Modifier and Type | Method and Description |
---|---|
void |
convert(S source,
T target)
Convert the source into the provided target object
|
convert, create
public PropertyableToListItemConverter(Class<T> clazz, boolean includeProperties)
clazz
- the class of the target typeincludeProperties
- whether to add the properties to the result. The property key will be constructed
as follows <groupKey>.<propertyKey> If false this converter will do
nothing.public void convert(S source, T target)
PojoTargetConverter
convert
in class PojoTargetConverter<S extends Propertyable,T extends IdentifiableEntityData>
source
- the source objecttarget
- the target objectCopyright © 2019 Communote team. All rights reserved.