| java.lang.Object jcommontk.object.ObjectFiller
ObjectFiller | public class ObjectFiller (Code) | | Object filler will fill an objects public members with values from a map.
|
Inner Class :public interface GetHandler | |
Inner Class :public static class ItemNotFoundException extends Exception | |
Method Summary | |
public static T | fillObject(GetHandler getHandler, T object) Fill the object with values from the given getHandler. | public static T | fillObject(GetHandler getHandler, T object, Set<String> ignoreValueNames, boolean setNulls) Fill the object with values from the given getHandler. | public static T | fillObject(GetHandler getHandler, T object, boolean fillPublicSetMethods, boolean fillPublicFields, Set<String> ignoreValueNames, boolean setNulls) Fill the object with values from the given getHandler. | public static T | fillObject(GetHandler getHandler, T object, Class<T> c, boolean fillPublicSetMethods, boolean fillPublicFields, Set<String> ignoreValueNames, boolean setNulls) Fill the object with values from the given getHandler. |
fillObject | public static T fillObject(GetHandler getHandler, T object) throws IllegalAccessException, InvocationTargetException(Code) | | Fill the object with values from the given getHandler.
Parameters: getHandler - the GetHandler providing values for the object being filled Parameters: object - the object being filled the object passed in |
fillObject | public static T fillObject(GetHandler getHandler, T object, Set<String> ignoreValueNames, boolean setNulls) throws IllegalAccessException, InvocationTargetException(Code) | | Fill the object with values from the given getHandler.
Parameters: getHandler - the GetHandler providing values for the object being filled Parameters: object - the object being filled Parameters: ignoreValueNames - ignore the value names in the set Parameters: setNulls - set or ignore null values the object passed in |
fillObject | public static T fillObject(GetHandler getHandler, T object, boolean fillPublicSetMethods, boolean fillPublicFields, Set<String> ignoreValueNames, boolean setNulls) throws IllegalAccessException, InvocationTargetException(Code) | | Fill the object with values from the given getHandler.
Parameters: getHandler - the GetHandler providing values for the object being filled Parameters: object - the object being filled Parameters: fillPublicSetMethods - fill public set methods of the object Parameters: fillPublicFields - fill public fields of the object Parameters: ignoreValueNames - ignore the value names in the set Parameters: setNulls - set or ignore null values the object passed in |
fillObject | public static T fillObject(GetHandler getHandler, T object, Class<T> c, boolean fillPublicSetMethods, boolean fillPublicFields, Set<String> ignoreValueNames, boolean setNulls) throws IllegalAccessException, InvocationTargetException(Code) | | Fill the object with values from the given getHandler.
Parameters: getHandler - the GetHandler providing values for the object being filled Parameters: object - the object being filled Parameters: c - the declaring class that methods and fields must exist in or null for no restriction Parameters: fillPublicSetMethods - fill public set methods of the object Parameters: fillPublicFields - fill public fields of the object Parameters: ignoreValueNames - ignore the value names in the set Parameters: setNulls - set or ignore null values the object passed in |
|
|