| com.completex.objective.components.persistency.mapper.AdHocPoBeanConverter
All known Subclasses: com.completex.objective.components.persistency.mapper.impl.AdHocPoBeanConverterImpl,
AdHocPoBeanConverter | public interface AdHocPoBeanConverter (Code) | | Converts persistent objects to corresponding beans without pre-defined mapping.
author: Gennady Krizhevsky |
convert | Object convert(PersistentObject po, Class beanClass)(Code) | | Converts persistent object to corresponding bean
Parameters: po - persistent object Parameters: beanClass - bean class bean populated with persistent object data |
convert | Object[] convert(CompoundPersistentObject cpo, Class[] beanClasses)(Code) | | Converts compound persistent object to corresponding bean array.
If number of entries in the compound persistent object > bean classes array size
then the common ones get converted, the extra ones get returned unconverted. That is
the size of resulting array is equal to the size of the compound entries one.
Parameters: cpo - compound persistent object Parameters: beanClasses - bean classes array bean array populated with persistent object data |
convert | Object convert(PersistentObject po, Class beanClass, Map typeMap)(Code) | | Converts persistent object to corresponding bean
Parameters: po - persistent object Parameters: beanClass - bean class Parameters: typeMap - type map containing PersistentEntry column of Link name as a key and the corresponding bean class as a value bean populated with persistent object data |
|
|