public class BeanInstance extends Object
Constructor and Description |
---|
BeanInstance(Object object) |
BeanInstance(Object object,
Class<?> clazz) |
Modifier and Type | Method and Description |
---|---|
boolean |
containProperty(String property) |
Object |
get(String property) |
Object |
get(String property,
Object source) |
Class<?> |
getClassType() |
Object |
getGenericType(String property) |
List<BeanProperty> |
getProperties() |
BeanProperty |
getProperty(String property) |
Class<?> |
getType(String property) |
void |
set(String property,
Object value) |
void |
set(String property,
Object source,
Object value) |
public BeanInstance(Object object)
public void set(String property, Object value) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException
public Object get(String property) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException
public void set(String property, Object source, Object value) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException
public Object get(String property, Object source) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException
public BeanProperty getProperty(String property)
public boolean containProperty(String property)
public Class<?> getClassType()
public List<BeanProperty> getProperties()
Copyright © 2018 Brandao. All rights reserved.