org.kuali.kfs.module.ar.batch.vo
Class CustomerDigesterAdapter
java.lang.Object
org.kuali.kfs.module.ar.batch.vo.CustomerDigesterAdapter
public class CustomerDigesterAdapter
- extends Object
This class converts a CustomerDigesterVO object to a standard
Customer object.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomerDigesterAdapter
public CustomerDigesterAdapter()
convert
public Customer convert(CustomerDigesterVO customerDigesterVO,
CustomerLoadBatchErrors errors)
- Converts a CustomerDigesterVO to a real Customer BO. Tries to do intelligent type
conversions where the types arent Strings.
NOTE that conversion exceptions will be swallowed! and converted to errors in the
parameter errorMap.
- Parameters:
customerDigesterVO
- The VO full of String values to convert from.errorMap
- An empty ErrorMap collection to add errors to. Only new errors will be added.
- Returns:
- A populated Customer object, from the VO.
setDateTimeService
public void setDateTimeService(org.kuali.rice.kns.service.DateTimeService dateTimeService)
setMaintDocDDService
public void setMaintDocDDService(org.kuali.rice.kns.service.MaintenanceDocumentDictionaryService maintDocDDService)
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.