接口 BeanProperty

所有已知实现类:
DefaultBeanProperty

public interface BeanProperty
版本:
$Revision$
作者:
Aslak Hellesøy
  • 方法概要

    修饰符和类型
    方法
    说明
    This can return both the isProperty if the property is of type Boolean or getProperty for any other type of Object.
    The setter-method of the bean.
    The name of the bean, which is based on the name of the mutator or accessor, not on the field.
    The type of the bean, either used as argument type of the mutator or return type of the accessor.
  • 方法详细资料

    • 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 the isProperty if the property is of type Boolean or getProperty for any other type of Object.
      返回:
      the getter, otherwise null
    • getMutator

      JavaMethod getMutator()
      The setter-method of the bean.
      返回:
      the setter, otherwise null