public class NearConverter extends CompositeConverter
Modifier and Type | Field and Description |
---|---|
private String |
distanceProperty |
Constructor and Description |
---|
NearConverter(Class<? extends NearItem> nearItemClass) |
Modifier and Type | Method and Description |
---|---|
Object |
formToItem(String name,
ItemArguments arguments,
ItemContext itemContext) |
DispatchForm |
itemToForm(Item item,
ItemIdMapper itemIdMapper) |
private void |
setDistance(NearItem nearItem,
ItemArguments arguments) |
addChildren, getFormName
private final String distanceProperty
public Object formToItem(String name, ItemArguments arguments, ItemContext itemContext)
formToItem
in interface ItemFormConverter
formToItem
in class CompositeConverter
private void setDistance(NearItem nearItem, ItemArguments arguments)
public DispatchForm itemToForm(Item item, ItemIdMapper itemIdMapper)
itemToForm
in interface ItemFormConverter
itemToForm
in class CompositeConverter
Copyright © 2018. All rights reserved.