|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.javatools.db.property.PropertyInfo
public abstract class PropertyInfo
Wrapper for the PropertyDescriptor beans class that includes some db api specific accessors for the annotation information.
| Field Summary | |
|---|---|
static java.lang.String |
ID
|
static java.lang.String |
NAME
|
| Constructor Summary | |
|---|---|
PropertyInfo()
|
|
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object o)
The implementation of this method allows a collection of PropertyInfo objects to be sorted lexicographically
by the property name. |
boolean |
equals(java.lang.Object o)
|
protected abstract boolean |
equalsImpl(PropertyInfo info)
|
abstract java.lang.Class |
getPropertyClass()
Returns the class expected for values of this property. |
abstract java.lang.String |
getPropertyName()
Returns the name of the property. |
abstract java.lang.String |
getPropertyPath()
Gets the path for the property. |
abstract java.lang.Object |
getPropertyValue(java.lang.Object bean)
Invokes the getter method using owningObject as the
object on which the getter is called. |
java.lang.Class |
getReferencedClass()
If this property is a reference property (i.e. |
protected abstract boolean |
isAfter()
Returns true if the get OR set method for this property has the After annotation. |
abstract boolean |
isGetTransient()
Returns true if the get method for this property has the Transient annotation. |
boolean |
isInternalReference()
If this class is a reference property (i.e. |
abstract boolean |
isSetTransient()
Returns true if the set method for this property has the Transient annotation. |
boolean |
isStaticReference()
Only valid for properties with a return type of DBObjectID. |
boolean |
isTransient()
Returns true if the get OR set method for this property has the Transient annotation. |
abstract void |
setPropertyValue(java.lang.Object bean,
java.lang.Object value)
Invokes the setter method using owningObject as the
object on which the setter is called, and value as
the value passed to the setter. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ID
public static final java.lang.String NAME
| Constructor Detail |
|---|
public PropertyInfo()
| Method Detail |
|---|
public abstract java.lang.String getPropertyName()
public abstract java.lang.String getPropertyPath()
public abstract java.lang.Class getPropertyClass()
public abstract java.lang.Object getPropertyValue(java.lang.Object bean)
owningObject as the
object on which the getter is called. This method will return
null if any exception occurs while invoking the
getter method.
public abstract void setPropertyValue(java.lang.Object bean,
java.lang.Object value)
throws java.lang.Exception
owningObject as the
object on which the setter is called, and value as
the value passed to the setter. If any Exception is encountered invoking
the setter it is passed on to the caller.
java.lang.Exceptionpublic java.lang.Class getReferencedClass()
public boolean isInternalReference()
public abstract boolean isGetTransient()
Transientpublic abstract boolean isSetTransient()
Transientpublic boolean isTransient()
Transientprotected abstract boolean isAfter()
Afterpublic int compareTo(java.lang.Object o)
PropertyInfo objects to be sorted lexicographically
by the property name.
compareTo in interface java.lang.Comparablepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectprotected abstract boolean equalsImpl(PropertyInfo info)
public boolean isStaticReference()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||