|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jbo.mom.PropertyNameValueDef
oracle.jbo.server.util.JboNamedData
public class JboNamedData
This class implements a persistable name-value-type holder It can be used to store name-type-value triplets e.g., to persist Bean Properties. Used by JboValidatorType to store Validator bean's instance data.
Field Summary |
---|
Fields inherited from class oracle.jbo.mom.PropertyNameValueDef |
---|
NULL_VALUE |
Fields inherited from interface oracle.jbo.mom.xml.DefPersistable |
---|
XML_STATEMENT |
Constructor Summary | |
---|---|
JboNamedData()
|
|
JboNamedData(JboNamedData other)
|
|
JboNamedData(java.lang.String name,
java.lang.String type,
java.lang.Object value)
|
|
JboNamedData(java.lang.String name,
java.lang.String type,
java.lang.Object value,
boolean saveNullValue)
|
|
JboNamedData(java.lang.String name,
java.lang.String type,
java.lang.Object value,
boolean saveNullValue,
int paramOption)
|
Method Summary | |
---|---|
java.lang.String |
getFullName()
This method returns the Persistence reference of the object. |
int |
getOption()
Advanced : For internal use only |
DefPersistable |
getOrigObject()
|
boolean |
isDirty()
This method returns if an Object is modified from last save/load |
boolean |
isNew()
This method returns if this object is previously persisted. |
void |
setDirty(boolean isDirty)
This method marks the Object dirty |
void |
setNew(boolean isNew)
This method marks the as previously persisted. |
void |
setOrigObject(DefPersistable oldObj)
|
void |
writeChildren(DefWriter jos)
Writes the Object's children to the Persistent storage |
void |
writeContents(DefWriter jos)
Objects should write their persistence output in this method |
void |
writeObject(DefWriter jos)
Objects should write their persistence output in this method |
Methods inherited from class oracle.jbo.mom.PropertyNameValueDef |
---|
clone, convertToText, convertToVector, copy, getColumnList, getDefXMLElementTag, getDefXMLNameSpace, getName, getType, getTypedValue, getTypeName, getValue, getXMLElementTag, loadFromXMLFile, setBeanProperty, setName, setType, setValue |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.jbo.mom.xml.PersistentDefinition |
---|
getDefXMLElementTag, getDefXMLNameSpace, getXMLElementTag |
Constructor Detail |
---|
public JboNamedData()
public JboNamedData(java.lang.String name, java.lang.String type, java.lang.Object value)
public JboNamedData(java.lang.String name, java.lang.String type, java.lang.Object value, boolean saveNullValue)
public JboNamedData(java.lang.String name, java.lang.String type, java.lang.Object value, boolean saveNullValue, int paramOption)
public JboNamedData(JboNamedData other)
Method Detail |
---|
public boolean isDirty()
isDirty
in interface DefPersistable
public void setDirty(boolean isDirty)
setDirty
in interface DefPersistable
isDirty
- If true the Object is marked Dirty.public boolean isNew()
isNew
in interface DefPersistable
public void setNew(boolean isNew)
setNew
in interface DefPersistable
isNew
- If true the Object is marked as new object.public DefPersistable getOrigObject()
getOrigObject
in interface DefPersistable
public void setOrigObject(DefPersistable oldObj)
setOrigObject
in interface DefPersistable
public java.lang.String getFullName()
getFullName
in interface DefPersistable
getFullName
in class PropertyNameValueDef
public int getOption()
public void writeObject(DefWriter jos) throws DefPersistenceException
writeObject
in interface PersistentDefinition
jos
- the Output storage for persistence
DefPersistenceException
public void writeContents(DefWriter jos) throws DefPersistenceException
writeContents
in interface PersistentDefinition
jos
- the Output storage for persistence
DefPersistenceException
public void writeChildren(DefWriter jos) throws DefPersistenceException
writeChildren
in interface PersistentDefinition
jos
- the Output storage for persistence
java.lang.Error
- in writing the Object's Children to the storage
DefPersistenceException
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |