Package org.apache.xmlbeans.impl.jam
Interface JProperty
-
- All Superinterfaces:
JAnnotatedElement
,JElement
- All Known Implementing Classes:
PropertyImpl
public interface JProperty extends JAnnotatedElement
This is a helper class which provides java.beans-like functionality in the JAM framework. extension to the JAM framework that encapsulates the notion of a javabean properties. This class can be used to get similar functionality in JAM that is provided by the java.beans.* packge.
An array of JProperties for a given JClass can be retrieved using the getProperties factory method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JMethod
getGetter()
Returns a JMethod which represents the getter for this property.JMethod
getSetter()
Returns a JMethod which represents the setter for this property.JClass
getType()
Returns a JClass which represents the type of this property.-
Methods inherited from interface org.apache.xmlbeans.impl.jam.JAnnotatedElement
getAllJavadocTags, getAnnotation, getAnnotation, getAnnotationProxy, getAnnotations, getAnnotationValue, getComment
-
Methods inherited from interface org.apache.xmlbeans.impl.jam.JElement
accept, getArtifact, getParent, getQualifiedName, getSimpleName, getSourcePosition, toString
-
-
-
-
Method Detail
-
getType
JClass getType()
Returns a JClass which represents the type of this property.
-
getSetter
JMethod getSetter()
Returns a JMethod which represents the setter for this property. Returns null if this property is view-only.
-
getGetter
JMethod getGetter()
Returns a JMethod which represents the getter for this property. Returns null if this property is write-only.
-
-