public class Beanspector<T> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Beanspector.TypeInfo |
Constructor and Description |
---|
Beanspector(Class<T> tclass) |
Beanspector(T tobj) |
Modifier and Type | Method and Description |
---|---|
Beanspector.TypeInfo |
getAccessorTypeInfo(String getterOrSetterName) |
T |
getBean() |
Set<String> |
getGettersNames() |
Set<String> |
getSettersNames() |
Object |
getValue(Method getter) |
Object |
getValue(String getterName) |
Beanspector<T> |
instantiate() |
Beanspector<T> |
setValue(Map<String,Object> settersWithValues) |
Beanspector<T> |
setValue(Method setter,
Object value) |
Beanspector<T> |
setValue(String setterName,
Object value) |
Beanspector<T> |
swap(T newobject) |
public Beanspector(T tobj)
public T getBean()
public Beanspector.TypeInfo getAccessorTypeInfo(String getterOrSetterName) throws Exception
Exception
public Beanspector<T> swap(T newobject) throws Exception
Exception
public Beanspector<T> instantiate() throws Exception
Exception
public Beanspector<T> setValue(String setterName, Object value) throws Throwable
Throwable
public Beanspector<T> setValue(Map<String,Object> settersWithValues) throws Throwable
Throwable
public Beanspector<T> setValue(Method setter, Object value) throws Throwable
Throwable
Apache CXF