Package org.eclnt.ccee.util
Class PojoUtil
java.lang.Object
org.eclnt.ccee.util.PojoUtil
Utility for managing "Pojos" - i.e. properties only consisting out of
data members and correspdoning setter/getter methods.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Object
getPropertyValue
(Object bean, String propertyName) static void
moveCorresponding
(Object beanFrom, Object beanTo) Moves all properties from one object to an other object according to their name and their type.static void
static void
setPropertyValue
(Object bean, String propertyName, Object value)
-
Constructor Details
-
PojoUtil
public PojoUtil()
-
-
Method Details
-
resetBuffers
public static void resetBuffers() -
getPropertyValue
-
setPropertyValue
-
moveCorresponding
Moves all properties from one object to an other object according to their name and their type.- Parameters:
beanFrom
-beanTo
-
-