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 JavaMethod
getAccessor()
This can return both theisProperty
if the property is of typeBoolean
orgetProperty
for any other type ofObject
.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 theisProperty
if the property is of typeBoolean
orgetProperty
for any other type ofObject
.- Returns:
- the getter, otherwise
null
-
getMutator
JavaMethod getMutator()
The setter-method of the bean.- Returns:
- the setter, otherwise
null
-
-