Save This Page
Home » jdo2-model-2.3-ea-src » org.apache.jdo.model.java » [javadoc | source]
org.apache.jdo.model.java
public interface: JavaProperty [javadoc | source]

All Implemented Interfaces:
    JavaField

All Known Implementing Classes:
    JavaPropertyImpl

A JavaProperty instance represents a JavaBeans property.
Method from org.apache.jdo.model.java.JavaProperty Summary:
getGetterMethod,   getSetterMethod
Method from org.apache.jdo.model.java.JavaProperty Detail:
 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.
 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.