类 DefaultBeanProperty

java.lang.Object
com.thoughtworks.qdox.model.impl.DefaultBeanProperty
所有已实现的接口:
BeanProperty

public class DefaultBeanProperty extends Object implements BeanProperty
  • 构造器详细资料

    • DefaultBeanProperty

      public DefaultBeanProperty(String name)
  • 方法详细资料

    • getName

      public String getName()
      The name of the bean, which is based on the name of the mutator or accessor, not on the field.
      指定者:
      getName 在接口中 BeanProperty
      返回:
      the name of the bean
    • setType

      public void setType(JavaType type)
    • getType

      public JavaType getType()
      The type of the bean, either used as argument type of the mutator or return type of the accessor.
      指定者:
      getType 在接口中 BeanProperty
      返回:
      the type of the bean
    • getAccessor

      public JavaMethod getAccessor()
      This can return both the isProperty if the property is of type Boolean or getProperty for any other type of Object.
      指定者:
      getAccessor 在接口中 BeanProperty
      返回:
      the getter, otherwise null
    • setAccessor

      public void setAccessor(JavaMethod accessor)
    • getMutator

      public JavaMethod getMutator()
      The setter-method of the bean.
      指定者:
      getMutator 在接口中 BeanProperty
      返回:
      the setter, otherwise null
    • setMutator

      public void setMutator(JavaMethod mutator)