org.apache.jdo.model.java
Interface JavaProperty
- All Superinterfaces:
- JavaElement, JavaField, JavaMember
- All Known Implementing Classes:
- JavaPropertyImpl
- public interface JavaProperty
- extends JavaField
A JavaProperty instance represents a JavaBeans property.
- Version:
- JDO 2.0
- Author:
- Michael Bouschen
getGetterMethod
public JavaMethod getGetterMethod()
- Returns the JavaMethod representation of the getter method for this
JavaProperty. If there is no getter method for this JavaProperty
(i.e. the property is write-only), then the method returns
null
.
- Returns:
- the getter method if available; or
null
otherwise.
getSetterMethod
public JavaMethod getSetterMethod()
- Returns the JavaMethod representation of the setter method for this
JavaProperty. If there is no setter method for this JavaProperty
(i.e. the property is read-only), then the method returns
null
.
- Returns:
- the setter method if available; or
null
otherwise.
Copyright © 2005 Apache Software Foundation. All Rights Reserved.