- 所有已知实现类:
DefaultBeanProperty
public interface BeanProperty
- 版本:
- $Revision$
- 作者:
- Aslak Hellesøy
-
方法详细资料
-
getName
String getName()The name of the bean, which is based on the name of the mutator or accessor, not on the field.- 返回:
- the name of the bean
-
getType
JavaType getType()The type of the bean, either used as argument type of the mutator or return type of the accessor.- 返回:
- the type of the bean
-
getAccessor
JavaMethod getAccessor()This can return both theisPropertyif the property is of typeBooleanorgetPropertyfor any other type ofObject.- 返回:
- the getter, otherwise
null
-
getMutator
JavaMethod getMutator()The setter-method of the bean.- 返回:
- the setter, otherwise
null
-