Package edu.cornell.mannlib.vedit.util
Class OperationUtils
- java.lang.Object
-
- edu.cornell.mannlib.vedit.util.OperationUtils
-
public class OperationUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description OperationUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidbeanSetAndValidate(Object newObj, String field, String value, EditProcessObject epo)static ObjectcloneBean(Object bean)Takes a bean and clones it using reflection.static ObjectcloneBean(Object bean, Class<?> beanClass, Class<?> iface)Takes a bean and clones it using reflection.
-
-
-
Method Detail
-
beanSetAndValidate
public static void beanSetAndValidate(Object newObj, String field, String value, EditProcessObject epo)
-
cloneBean
public static Object cloneBean(Object bean)
Takes a bean and clones it using reflection. Any fields without standard getter/setter methods will not be copied.
-
-