Package one.empty3
Class Pojo
java.lang.Object
one.empty3.Pojo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Properties
getProperties
(Object o, Properties p) static Object
getProperty
(Object o, String propertyName) static Class
getPropertyType
(Object o, String propertyName) static boolean
static void
static void
static boolean
setProperties
(Object o, Properties p) static void
setProperty
(Object o, String propertyName, Object value, Class cl)
-
Constructor Details
-
Pojo
public Pojo()
-
-
Method Details
-
parseBoolean
- Throws:
NumberFormatException
-
setO
-
setP
-
setProperties
-
getProperties
- Parameters:
o
- Pojo objectp
- Properties list String (name), String (scalar value b|d|i)- Returns:
- properties getter list value
-
getPropertyType
- Throws:
NoSuchMethodException
-
setProperty
public static void setProperty(Object o, String propertyName, Object value, Class cl) throws InvocationTargetException, IllegalAccessException, NoSuchMethodException -
getProperty
public static Object getProperty(Object o, String propertyName) throws InvocationTargetException, IllegalAccessException, NoSuchMethodException
-