Package com.softwaremining.platformutils
Class BeanUtility
java.lang.Object
com.softwaremining.platformutils.BeanUtility
converst between idata.wrapper classes and idata.wrapper.beans.bean classes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BeanInterface
convert a Wrapper to a data transer beanstatic BeanInterface[]
convert a Wrapper to a data transer beanstatic CBLBean
toWrapper
(BeanInterface bean) convert a Bean to a WrapperClassstatic CBLBean[]
toWrapper
(BeanInterface[] beans) convert a Bean to a WrapperClass
-
Constructor Details
-
BeanUtility
public BeanUtility()
-
-
Method Details
-
toBean
public static BeanInterface toBean(CBLBean wrapper) throws ClassNotFoundException, IllegalAccessException, InstantiationException convert a Wrapper to a data transer bean -
toBean
public static BeanInterface[] toBean(CBLBean[] wrapper) throws ClassNotFoundException, IllegalAccessException, InstantiationException convert a Wrapper to a data transer bean -
toWrapper
public static CBLBean toWrapper(BeanInterface bean) throws ClassNotFoundException, IllegalAccessException, InstantiationException convert a Bean to a WrapperClass -
toWrapper
public static CBLBean[] toWrapper(BeanInterface[] beans) throws ClassNotFoundException, IllegalAccessException, InstantiationException convert a Bean to a WrapperClass
-