Package com.thoughtworks.qdox.model
Interface BeanProperty
-
- All Known Implementing Classes:
DefaultBeanProperty
public interface BeanProperty- Version:
- $Revision$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JavaMethodgetAccessor()This can return both theisPropertyif the property is of typeBooleanorgetPropertyfor any other type ofObject.JavaMethodgetMutator()The setter-method of the bean.java.lang.StringgetName()The name of the bean, which is based on the name of the mutator or accessor, not on the field.JavaTypegetType()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 theisPropertyif the property is of typeBooleanorgetPropertyfor any other type ofObject.- Returns:
- the getter, otherwise
null
-
getMutator
JavaMethod getMutator()
The setter-method of the bean.- Returns:
- the setter, otherwise
null
-
-