public class BeanPropertyImp extends Object implements BeanProperty
Constructor and Description |
---|
BeanPropertyImp(Field field,
Method set,
Method get,
String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
canGet() |
boolean |
canSet() |
Object |
get(Object o) |
Object |
getDeclaredGenericType() |
Class |
getDeclaredType() |
Field |
getField() |
Object |
getGenericType() |
Method |
getGet() |
String |
getName() |
Method |
getSet() |
Class |
getType() |
void |
set(Object o,
Object value) |
void |
setField(Field field) |
void |
setGet(Method get) |
void |
setName(String name) |
void |
setSet(Method set) |
public boolean canSet()
canSet
in interface BeanProperty
public void set(Object o, Object value) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException
set
in interface BeanProperty
IllegalAccessException
IllegalArgumentException
InvocationTargetException
public boolean canGet()
canGet
in interface BeanProperty
public Object get(Object o) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException
get
in interface BeanProperty
IllegalAccessException
IllegalArgumentException
InvocationTargetException
public Object getGenericType()
getGenericType
in interface BeanProperty
public Class getType()
getType
in interface BeanProperty
public Field getField()
getField
in interface BeanProperty
public void setField(Field field)
setField
in interface BeanProperty
public Method getSet()
getSet
in interface BeanProperty
public void setSet(Method set)
setSet
in interface BeanProperty
public Method getGet()
getGet
in interface BeanProperty
public void setGet(Method get)
setGet
in interface BeanProperty
public String getName()
getName
in interface BeanProperty
public void setName(String name)
setName
in interface BeanProperty
public Object getDeclaredGenericType()
getDeclaredGenericType
in interface BeanProperty
public Class getDeclaredType()
getDeclaredType
in interface BeanProperty
Copyright © 2018 Brandao. All rights reserved.