Package org.cyclos.impl.system
Class ReceiptPartVOConverter
- java.lang.Object
-
- org.cyclos.impl.utils.conversion.AbstractBeanConverter<T>
-
- org.cyclos.impl.utils.conversion.ObjectConverter<ReceiptPartVO>
-
- org.cyclos.impl.system.ReceiptPartVOConverter
-
- All Implemented Interfaces:
BeanConverter<ReceiptPartVO>
@Component public class ReceiptPartVOConverter extends ObjectConverter<ReceiptPartVO>
Converts to aReceiptPartVO, handling conversion from string to text
-
-
Field Summary
-
Fields inherited from class org.cyclos.impl.utils.conversion.AbstractBeanConverter
beanHandler, configurationHandler, conversionHandler, entityManagerHandler, profileFieldHandler
-
-
Constructor Summary
Constructors Constructor Description ReceiptPartVOConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfill(Object source, ReceiptPartVO part, Object[] excludingProperties, InvocationContext.ConversionContext context)Copy properties from the source to the destination objectprotected ReceiptPartVOinstantiate(Class<ReceiptPartVO> beanType, Object source, InvocationContext.ConversionContext context)Instantiate the result object from the given source object.-
Methods inherited from class org.cyclos.impl.utils.conversion.ObjectConverter
convert, getSessionData, registerMapping, resolveDestinationType
-
Methods inherited from class org.cyclos.impl.utils.conversion.AbstractBeanConverter
canBeUsedAsSourceForFilling, getApplicationContext, getBeanType, getFormatter
-
-
-
-
Method Detail
-
fill
protected void fill(Object source, ReceiptPartVO part, Object[] excludingProperties, InvocationContext.ConversionContext context)
Description copied from class:ObjectConverterCopy properties from the source to the destination object- Overrides:
fillin classObjectConverter<ReceiptPartVO>
-
instantiate
protected ReceiptPartVO instantiate(Class<ReceiptPartVO> beanType, Object source, InvocationContext.ConversionContext context)
Description copied from class:ObjectConverterInstantiate the result object from the given source object. By default, just invoke the default constructor on the bean type- Overrides:
instantiatein classObjectConverter<ReceiptPartVO>
-
-