Oracle9i Business Components for Java API Reference
Oracle9i Jdeveloper (9.0.4)
B10391-01


oracle.jbo.uicli.mom
Class JURowSetDefImpl

java.lang.Object
  |
  +--oracle.jbo.common.NamedObjectImpl
        |
        +--oracle.jbo.mom.DefinitionObject
              |
              +--oracle.jbo.uicli.mom.JURowSetDefImpl
All Implemented Interfaces:
oracle.jbo.mom.xml.DefPersistable

public class JURowSetDefImpl
extends oracle.jbo.mom.DefinitionObject
implements oracle.jbo.mom.xml.DefPersistable

Field Summary

 

Fields inherited from class oracle.jbo.mom.DefinitionObject
mBaseDefObject, mExtendedDefObjects, mObjectResolved

 

Fields inherited from class oracle.jbo.common.NamedObjectImpl
mFullName, mObjName, mParent, mProperties

 

Fields inherited from interface oracle.jbo.mom.xml.DefPersistable
XML_STATEMENT

 

Method Summary
 java.lang.String getXMLElementTag()
          Returns a piece of static info for the type of object this is invoked upon.
 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 writeChildren(oracle.jbo.mom.xml.DefWriter jos)
          Writes the Object's children to the Persistent storage
 void writeContents(oracle.jbo.mom.xml.DefWriter jos)
          Objects should write their persistence output in this method
 void writeObject(oracle.jbo.mom.xml.DefWriter jos)
          Objects should write their persistence output in this method

 

Methods inherited from class oracle.jbo.mom.DefinitionObject
addExtendedDefObject, finishedLoading, getBaseDefObject, getContainerDef, getContainerName, getExtendedDefObjects, isBaseDefFor, isDynamicDefinitionObject, isObjectResolved, loadProperties, resolveReferences, setBaseDefObject, setName, setObjectResolved, setParent

 

Methods inherited from class oracle.jbo.common.NamedObjectImpl
getFullName, getName, getParent, getProperties, getPropertiesAsStrings, getPropertiesMap, getProperty, refreshProperty, setFullName, setPropertiesMap, setProperty

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Methods inherited from interface oracle.jbo.mom.xml.DefPersistable
getFullName

 

Method Detail

isDirty

public boolean isDirty()
This method returns if an Object is modified from last save/load
Specified by:
isDirty in interface oracle.jbo.mom.xml.DefPersistable
Returns:
Returns true if the Object is dirty. Returns false otherwise.

setDirty

public void setDirty(boolean isDirty)
This method marks the Object dirty
Specified by:
setDirty in interface oracle.jbo.mom.xml.DefPersistable
Parameters:
isDirty - If true the Object is marked Dirty.

isNew

public boolean isNew()
This method returns if this object is previously persisted.
Specified by:
isNew in interface oracle.jbo.mom.xml.DefPersistable
Returns:
true if the Object is previously persisted. Returns false otherwise.

setNew

public void setNew(boolean isNew)
This method marks the as previously persisted. By default all objects are new objects. When the object is persisted first time, that object is marked as 'not new' object
Specified by:
setNew in interface oracle.jbo.mom.xml.DefPersistable
Parameters:
isNew - If true the Object is marked as new object.

writeObject

public void writeObject(oracle.jbo.mom.xml.DefWriter jos)
                 throws oracle.jbo.mom.xml.DefPersistenceException
Objects should write their persistence output in this method
Specified by:
writeObject in interface oracle.jbo.mom.xml.DefPersistable
Parameters:
jos - the Output storage for persistence
oracle.jbo.mom.xml.DefPersistenceException

writeContents

public void writeContents(oracle.jbo.mom.xml.DefWriter jos)
                   throws oracle.jbo.mom.xml.DefPersistenceException
Objects should write their persistence output in this method
Specified by:
writeContents in interface oracle.jbo.mom.xml.DefPersistable
Parameters:
jos - the Output storage for persistence
Returns:
Number of Contents returned
oracle.jbo.mom.xml.DefPersistenceException

writeChildren

public void writeChildren(oracle.jbo.mom.xml.DefWriter jos)
                   throws oracle.jbo.mom.xml.DefPersistenceException
Writes the Object's children to the Persistent storage
Specified by:
writeChildren in interface oracle.jbo.mom.xml.DefPersistable
Parameters:
jos - the Output storage for persistence
oracle.jbo.mom.xml.DefPersistenceException

getXMLElementTag

public java.lang.String getXMLElementTag()
Returns a piece of static info for the type of object this is invoked upon. Examples are PreparedStatements for insert, update, delete, and String containing a base the select statement for retrieving instances of this type through the SQLInputStream
Specified by:
getXMLElementTag in interface oracle.jbo.mom.xml.DefPersistable
Returns:
returns the Statement required to store in Persitent Storage. Incase of XML, it just returns the String. In the case of SQL a JDBC PreparedStatement is returned.

Oracle9i Business Components for Java API Reference
Oracle9i Jdeveloper (9.0.4)
B10391-01


 

Copyright © 1997, 2003, Oracle. All rights reserved.