| java.lang.Object org.romaframework.aspect.reporting.jr.ReflectionHelper
ReflectionHelper | public class ReflectionHelper (Code) | | |
firstToUppercase | public static String firstToUppercase(String s)(Code) | | Return the string with the first letter to uppercase
Parameters: s - |
getObjectValue | public static Object getObjectValue(SchemaField schemaField, Object obj) throws JRException(Code) | | Return the value of the field
Parameters: schemaField - the field to get Parameters: obj - the object where it must be searched throws: JRException - |
isCollection | public static boolean isCollection(Class clazz)(Code) | | Return true if the clazz is a collection
Parameters: clazz - |
isCollectionMapSet | public static boolean isCollectionMapSet(Class clazz)(Code) | | Return true if the clazz is a collection, a map or a set
Parameters: clazz - |
isMap | public static boolean isMap(Class clazz)(Code) | | Return true if the clazz is a collection
Parameters: clazz - |
isPrimitive | public static boolean isPrimitive(Class clazz)(Code) | | Return true if the clazz is a primitive type
Parameters: clazz - |
|
|