org.LexGrid.LexBIG.caCore.utils
Class LexEVSCaCoreUtils

java.lang.Object
  extended by org.LexGrid.LexBIG.caCore.utils.LexEVSCaCoreUtils

public class LexEVSCaCoreUtils
extends Object


Constructor Summary
LexEVSCaCoreUtils()
           
 
Method Summary
static ArrayList<Field> getAllFields(Class clazz)
           
static Field getField(Class clazz, String fieldName)
           
private static boolean isPrimitiveObject(Object obj)
           
static Object setFieldValue(Object input, Object value, String fieldName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LexEVSCaCoreUtils

public LexEVSCaCoreUtils()
Method Detail

setFieldValue

public static Object setFieldValue(Object input,
                                   Object value,
                                   String fieldName)
                            throws Exception
Throws:
Exception

isPrimitiveObject

private static boolean isPrimitiveObject(Object obj)

getAllFields

public static ArrayList<Field> getAllFields(Class clazz)

getField

public static Field getField(Class clazz,
                             String fieldName)
                      throws NoSuchFieldException
Throws:
NoSuchFieldException