Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02

com.bea.util.jam
Interface JProperty

All Superinterfaces:
JAnnotatedElement, JElement

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
 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 com.bea.util.jam.JAnnotatedElement
getAllJavadocTags, getAnnotation, getAnnotation, getAnnotations, getAnnotationValue, getComment
 
Methods inherited from interface com.bea.util.jam.JElement
accept, getArtifact, getParent, getQualifiedName, getSimpleName, getSourcePosition, isSourceAvailable, 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.


Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.1.3)

Part Number E41849-02