|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.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. |
java.lang.String |
getPropertyPath()
Deprecated. since DBObject.getProperty() now works for all bean and property map properties this is no longer required. |
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 boolean |
isAfter()
Returns true if the get OR set method for this property has the After annotation. |
boolean |
isDeprecated()
Returns true if the get OR set method for this property is deprecated. |
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. |
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 |
isSupported(java.lang.Class<? extends DBObjectProvider> proClz,
java.lang.Class<? extends DBObject> objClz)
Tests whether this property is supported in the given provider for the given object type. |
boolean |
isTransient()
Returns true if the get OR set method for this property has the Transient annotation. |
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()
@Deprecated public java.lang.String getPropertyPath()
public abstract java.lang.Class getPropertyClass()
public 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 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.Exception
public java.lang.Class getReferencedClass()
public boolean isInternalReference()
public boolean isGetTransient()
Transient
public boolean isSetTransient()
Transient
public boolean isTransient()
Transient
public boolean isDeprecated()
protected boolean isAfter()
After
public boolean isSupported(java.lang.Class<? extends DBObjectProvider> proClz, java.lang.Class<? extends DBObject> objClz)
proClz
- the desired provider type, if null all provider types are
matched.objClz
- the desired object type.
public int compareTo(java.lang.Object o)
PropertyInfo
objects to be sorted lexicographically
by the property name.
compareTo
in interface java.lang.Comparable
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
protected abstract boolean equalsImpl(PropertyInfo info)
public boolean isStaticReference()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.0.0) E17493-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |