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 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.