Package org.oxerr.commons.ws.rs.bean
Class BeanUtils
java.lang.Object
org.oxerr.commons.ws.rs.bean.BeanUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> T
copyProperties
(T dest, Object orig, String... properties) private static boolean
isCausedByIgnorableException
(org.springframework.beans.InvalidPropertyException e) static <T> T
static <T> T
static <T> T
patchExclude
(T dest, Object orig, Class<?>... excludedAnnotationTypes) static <T> T
patchExclude
(T dest, Object orig, String... excludedProperties) static <T> T
patchExclude
(T dest, Object orig, Set<Class<? extends Annotation>> excludedAnnotationTypes) private static void
setPropertyValue
(org.springframework.beans.BeanWrapper destBeanWrapper, org.springframework.beans.BeanWrapper origBeanWrapper, PropertyDescriptor pd)
-
Constructor Details
-
BeanUtils
private BeanUtils()
-
-
Method Details
-
patch
-
patch
-
patchExclude
-
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
-
copyProperties
-