Package org.cyclos.impl.utils.conversion
Class AbstractBeanConverter<T>
- java.lang.Object
-
- org.cyclos.impl.utils.conversion.AbstractBeanConverter<T>
-
- All Implemented Interfaces:
BeanConverter<T>
- Direct Known Subclasses:
DateConverter,DateTimeConverter,DateWrapperConverter,MapConverter,ObjectConverter,SerializableInputStreamConverter
public abstract class AbstractBeanConverter<T> extends Object implements BeanConverter<T>
Base class forBeanConverterimplementations
-
-
Field Summary
Fields Modifier and Type Field Description protected BeanHandlerbeanHandlerprotected ConfigurationHandlerconfigurationHandlerprotected ConversionHandlerInternalconversionHandlerprotected EntityManagerHandlerentityManagerHandlerprotected ProfileFieldHandlerprofileFieldHandler
-
Constructor Summary
Constructors Constructor Description AbstractBeanConverter(Class<T> beanType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanBeUsedAsSourceForFilling(Object object)Indicates whether the given object can be used as source to fill other objectsprotected ApplicationContextgetApplicationContext()Class<T>getBeanType()Returns the bean type handled by this converterprotected FormatterImplgetFormatter()protected SessionDatagetSessionData()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.cyclos.impl.utils.conversion.BeanConverter
convert
-
-
-
-
Field Detail
-
entityManagerHandler
@Autowired protected EntityManagerHandler entityManagerHandler
-
beanHandler
@Autowired protected BeanHandler beanHandler
-
conversionHandler
@Autowired protected ConversionHandlerInternal conversionHandler
-
configurationHandler
@Autowired protected ConfigurationHandler configurationHandler
-
profileFieldHandler
@Autowired protected ProfileFieldHandler profileFieldHandler
-
-
Method Detail
-
getBeanType
public final Class<T> getBeanType()
Description copied from interface:BeanConverterReturns the bean type handled by this converter- Specified by:
getBeanTypein interfaceBeanConverter<T>
-
canBeUsedAsSourceForFilling
protected boolean canBeUsedAsSourceForFilling(Object object)
Indicates whether the given object can be used as source to fill other objects
-
getApplicationContext
protected ApplicationContext getApplicationContext()
-
getFormatter
protected FormatterImpl getFormatter()
-
getSessionData
protected SessionData getSessionData()
-
-