Package org.cyclos.impl.banking
Class AccountTypeVOConverter
- java.lang.Object
-
- org.cyclos.impl.utils.conversion.AbstractBeanConverter<T>
-
- org.cyclos.impl.utils.conversion.ObjectConverter<VO>
-
- org.cyclos.impl.utils.conversion.EntityVOConverter<AccountTypeVO>
-
- org.cyclos.impl.banking.AccountTypeVOConverter
-
- All Implemented Interfaces:
BeanConverter<AccountTypeVO>
@Component public class AccountTypeVOConverter extends EntityVOConverter<AccountTypeVO>
If the source is aSystemAccountTypethen it converts to aSystemAccountTypeVO
-
-
Field Summary
-
Fields inherited from class org.cyclos.impl.utils.conversion.AbstractBeanConverter
beanHandler, configurationHandler, conversionHandler, entityManagerHandler, profileFieldHandler
-
-
Constructor Summary
Constructors Constructor Description AccountTypeVOConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AccountTypeVOinstantiate(Class<AccountTypeVO> beanType, Object source, InvocationContext.ConversionContext context)Instantiate the result object from the given source object.-
Methods inherited from class org.cyclos.impl.utils.conversion.EntityVOConverter
fill
-
Methods inherited from class org.cyclos.impl.utils.conversion.ObjectConverter
convert, getSessionData, registerMapping, resolveDestinationType
-
Methods inherited from class org.cyclos.impl.utils.conversion.AbstractBeanConverter
getApplicationContext, getBeanType, getFormatter
-
-
-
-
Method Detail
-
instantiate
protected AccountTypeVO instantiate(Class<AccountTypeVO> 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 classEntityVOConverter<AccountTypeVO>
-
-