Class PojoUtil

java.lang.Object
org.eclnt.ccee.util.PojoUtil

public class PojoUtil extends Object
Utility for managing "Pojos" - i.e. properties only consisting out of data members and correspdoning setter/getter methods.
  • Constructor Details

    • PojoUtil

      public PojoUtil()
  • Method Details

    • resetBuffers

      public static void resetBuffers()
    • getPropertyValue

      public static Object getPropertyValue(Object bean, String propertyName)
    • setPropertyValue

      public static void setPropertyValue(Object bean, String propertyName, Object value)
    • moveCorresponding

      public static void moveCorresponding(Object beanFrom, Object beanTo)
      Moves all properties from one object to an other object according to their name and their type.
      Parameters:
      beanFrom -
      beanTo -