|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.0) E13403-08 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.javatools.marshal.xml.PropertyInfo
public final class PropertyInfo
This is an internal data structure used by Object2Dom
to
hold metadata about a persistent property. Classes outside of the
oracle.ide.marshal.xml
package should create new
instances of this class using the PropertyInfoFactory
.
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 XML name. |
boolean |
equals(java.lang.Object o)
|
java.lang.Class |
getPropertyClass()
Returns the type of the property as a Class object. |
java.lang.Object |
getPropertyValue(java.lang.Object owningObject)
Invokes the getter method using owningObject as the
object on which the getter is called. |
java.lang.String |
getXMLName()
Returns the XML name of the property. |
boolean |
isAttribute()
Returns true if this property is to be saved as an
attribute rather than a separate XML element. |
boolean |
isOmittedWhenNull()
Returns true if this property should be omitted from
the XML when the value is null. |
void |
setPropertyValue(java.lang.Object owningObject,
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 |
Method Detail |
---|
public java.lang.String getXMLName()
public java.lang.Class getPropertyClass()
Class
object.
public java.lang.Object getPropertyValue(java.lang.Object owningObject)
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 owningObject, 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. This method will return without
doing anything if any exception occurs while invoking the setter
method.
java.lang.Exception
public boolean isAttribute()
true
if this property is to be saved as an
attribute rather than a separate XML element.
public boolean isOmittedWhenNull()
true
if this property should be omitted from
the XML when the value is null.
public int compareTo(java.lang.Object o)
PropertyInfo
objects to be sorted lexicographically
by the XML name.
compareTo
in interface java.lang.Comparable
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.7.0) E13403-08 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |