Package org.cyclos.impl.messaging
Class AlertVOConverter
- java.lang.Object
-
- org.cyclos.impl.utils.conversion.AbstractBeanConverter<T>
-
- org.cyclos.impl.utils.conversion.ObjectConverter<VO>
-
- org.cyclos.impl.utils.conversion.EntityVOConverter<AlertVO>
-
- org.cyclos.impl.messaging.AlertVOConverter
-
- All Implemented Interfaces:
BeanConverter<AlertVO>
@Component public class AlertVOConverter extends EntityVOConverter<AlertVO>
Special handling for AlertVO, which populates the text property from a translation message. SeeAlertVO.setText(String)
-
-
Field Summary
-
Fields inherited from class org.cyclos.impl.utils.conversion.AbstractBeanConverter
beanHandler, configurationHandler, conversionHandler, entityManagerHandler, profileFieldHandler
-
-
Constructor Summary
Constructors Constructor Description AlertVOConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfill(Object source, AlertVO vo, Object[] excludingProperties, InvocationContext.ConversionContext context)Copy properties from the source to the destination object-
Methods inherited from class org.cyclos.impl.utils.conversion.EntityVOConverter
instantiate
-
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, AlertVO vo, Object[] excludingProperties, InvocationContext.ConversionContext context)
Description copied from class:ObjectConverterCopy properties from the source to the destination object- Overrides:
fillin classEntityVOConverter<AlertVO>
-
-