- java.lang.Object
-
- com.appslandia.common.utils.ModelUtils
-
-
Constructor Summary
Constructors Constructor Description ModelUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> voidcopy(T dest, T src, String... forProps)static <T> voidcopy(T dest, T src, Function<String,Boolean> forProps)static <D,S>
voidcopyProps(D dest, S src, String... forProps)static <D,S>
voidcopyProps(D dest, S src, Function<String,Boolean> forProps)
-
-
-
Method Detail
-
copy
public static <T> void copy(T dest, T src, Function<String,Boolean> forProps) throws ReflectionException- Throws:
ReflectionException
-
copy
public static <T> void copy(T dest, T src, String... forProps) throws ReflectionException- Throws:
ReflectionException
-
copyProps
public static <D,S> void copyProps(D dest, S src, Function<String,Boolean> forProps) throws ReflectionException- Throws:
ReflectionException
-
copyProps
public static <D,S> void copyProps(D dest, S src, String... forProps) throws ReflectionException- Throws:
ReflectionException
-
-