Interface BeanProperty

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      JavaMethod getAccessor()
      This can return both the isProperty if the property is of type Boolean or getProperty for any other type of Object.
      JavaMethod getMutator()
      The setter-method of the bean.
      java.lang.String getName()
      The name of the bean, which is based on the name of the mutator or accessor, not on the field.
      JavaType getType()
      The type of the bean, either used as argument type of the mutator or return type of the accessor.
    • Method Detail

      • getName

        java.lang.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