Interface BeanProperty

All Known Implementing Classes:
DefaultBeanProperty

public interface BeanProperty
Version:
$Revision$
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
  • Method Details

    • getName

      String getName()
      The name of the bean, which is based on the name of the mutator or accessor, not on the field.
      Returns:
      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.
      Returns:
      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.
      Returns:
      the getter, otherwise null
    • getMutator

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