public class ExternalObjectToExternalObjectListItemConverter extends Object implements Converter<Pair<Blog,ExternalObject>,ExternalObjectListItem>
Constructor and Description |
---|
ExternalObjectToExternalObjectListItemConverter(boolean fillObjectProperties)
Create a converter
|
Modifier and Type | Method and Description |
---|---|
ExternalObjectListItem |
convert(Pair<Blog,ExternalObject> source)
Converts the source object which is of type S into an object of type T
|
public ExternalObjectToExternalObjectListItemConverter(boolean fillObjectProperties)
fillObjectProperties
- whether to add the object properties to the resultpublic ExternalObjectListItem convert(Pair<Blog,ExternalObject> source)
Converter
convert
in interface Converter<Pair<Blog,ExternalObject>,ExternalObjectListItem>
source
- the object to convertCopyright © 2019 Communote team. All rights reserved.