public class TypeCompat extends Object
Constructor and Description |
---|
TypeCompat() |
Modifier and Type | Method and Description |
---|---|
static List<PropertyInfo> |
GetProperties(Class<?> type) |
static PropertyCompat |
GetProperty(Class<?> type,
String idField) |
static void |
getPropertyValues(Object obj,
Set<String> properties,
Map<String,String> values)
The following method will get values for properties of provided object and will keep them in map
|
public static List<PropertyInfo> GetProperties(Class<?> type)
public static PropertyCompat GetProperty(Class<?> type, String idField)
public static void getPropertyValues(Object obj, Set<String> properties, Map<String,String> values)
obj
- - this is an object which values will be takenproperties
- - a set of properties namesvalues
- - a map which will contains all values of propertiesCopyright © 2012. All Rights Reserved.