Class BeanUtils

java.lang.Object
org.oxerr.commons.ws.rs.bean.BeanUtils

public final class BeanUtils extends Object
  • Constructor Details

    • BeanUtils

      private BeanUtils()
  • Method Details

    • patch

      public static <T> T patch(T dest, Object orig)
    • patch

      public static <T> T patch(T dest, Object orig, String... properties)
    • patchExclude

      public static <T> T patchExclude(T dest, Object orig, String... excludedProperties)
    • patchExclude

      public static <T> T patchExclude(T dest, Object orig, Set<Class<? extends Annotation>> excludedAnnotationTypes)
    • setPropertyValue

      private static void setPropertyValue(org.springframework.beans.BeanWrapper destBeanWrapper, org.springframework.beans.BeanWrapper origBeanWrapper, PropertyDescriptor pd)
    • isCausedByIgnorableException

      private static boolean isCausedByIgnorableException(org.springframework.beans.InvalidPropertyException e)
    • patchExclude

      public static <T> T patchExclude(T dest, Object orig, Class<?>... excludedAnnotationTypes)
    • copyProperties

      public static <T> T copyProperties(T dest, Object orig, String... properties)