T - the target typepublic class BlogToBlogDataConverter<T extends BlogData> extends PropertyableToListItemConverter<Blog,T>
| Constructor and Description |
|---|
BlogToBlogDataConverter(Class<T> clazz,
boolean includeProperties)
Create a new converter
|
| Modifier and Type | Method and Description |
|---|---|
void |
convert(Blog source,
T target)
Convert the source into the provided target object
|
convert, createpublic BlogToBlogDataConverter(Class<T> clazz, boolean includeProperties)
clazz - the class of the target typeincludeProperties - whether to add the blog properties to the result. The property key will be
constructed as follows <groupKey>.<propertyKey>public void convert(Blog source, T target)
PojoTargetConverterconvert in class PropertyableToListItemConverter<Blog,T extends BlogData>source - the source objecttarget - the target objectCopyright © 2019 Communote team. All rights reserved.