Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.4.0)

E10653-05

oracle.jbo.common
Class ViewCriteriaRowImpl

java.lang.Object
  extended by oracle.jbo.ViewCriteriaRow
      extended by oracle.jbo.common.ViewCriteriaRowImpl
All Implemented Interfaces:
AttributeList, ExprValueSupplier, DefPersistable, PersistentDefinition, Row, ViewCriteriaComponent, XMLInterface

public class ViewCriteriaRowImpl
extends ViewCriteriaRow
implements DefPersistable


Field Summary
 
Fields inherited from class oracle.jbo.ViewCriteriaRow
VC_CONJUNCTION, VC_ITEMS, VC_NAME, VC_NESTEDVC, VC_PROPERTIES, VC_VOBINDVARS, VCROW_CONJ_AND, VCROW_CONJ_NOT, VCROW_CONJ_OR
 
Fields inherited from interface oracle.jbo.mom.xml.DefPersistable
XML_STATEMENT
 
Fields inherited from interface oracle.jbo.Row
EFFDT_DELETE_FUTURE_CHANGE_MODE, EFFDT_DELETE_MODE, EFFDT_DELETE_NEXT_CHANGE_MODE, EFFDT_DELETE_THIS_CHANGE_MODE, EFFDT_DELETE_ZAP_MODE, EFFDT_EXPERT_MODE, EFFDT_NONE_MODE, EFFDT_UPDATE_CHANGE_INSERT_MODE, EFFDT_UPDATE_CORRECTION, EFFDT_UPDATE_MODE, EFFDT_UPDATE_NEW_EARLIEST_CHANGE_MODE, EFFDT_UPDATE_OVERRIDE_MODE, REFRESH_CONTAINEES, REFRESH_FORGET_NEW_ROWS, REFRESH_REMOVE_NEW_ROWS, REFRESH_UNDO_CHANGES, REFRESH_WITH_DB_FORGET_CHANGES, REFRESH_WITH_DB_ONLY_IF_UNCHANGED, STATUS_INITIALIZED, STATUS_NEW
 
Fields inherited from interface oracle.jbo.XMLInterface
XML_IGNORE_DEPTH_COUNT, XML_OPT_ALL_ROWS, XML_OPT_ASSOC_CONSISTENT, XML_OPT_CHANGES_ONLY, XML_OPT_LIMIT_RANGE, XML_PASSIVATION_USE
 
Fields inherited from interface oracle.jbo.ViewCriteriaComponent
VC_CONJ_AND, VC_CONJ_NOT, VC_CONJ_OR, VC_CONJ_UNION, VC_UPPER_COL_DEFAULT, VC_UPPER_COL_FALSE, VC_UPPER_COL_TRUE
 
Constructor Summary
ViewCriteriaRowImpl(ViewCriteria viewCriteria)
           
ViewCriteriaRowImpl(ViewCriteria viewCriteria, java.lang.Object[] data)
           
 
Method Summary
protected  ViewCriteriaItem createCriteriaItem(int index, java.lang.String name, int kind)
           
 java.lang.String getDefXMLElementTag()
           
 java.lang.String getDefXMLNameSpace()
           
 java.lang.String getFullName()
          This method returns the Persistence reference of the object.
 DefPersistable getOrigObject()
           
 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 loadXMLContents(DefElement xmlElement)
           
 void setDirty(boolean isDirty)
          This method marks the Object dirty
 void setNew(boolean b)
          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.ViewCriteriaRow
addCriteriaItem, copyFrom, ensureCriteriaItem, ensureCriteriaItem, ensureCriteriaItem, ensureCriteriaItem, equals, getAllBindVariables, getAttribute, getAttribute, getAttributeAlias, getAttributeCount, getAttributeHints, getAttributeHints, getAttributeIndexOf, getAttributeNameFromAlias, getAttributeNames, getAttributeSecurityHints, getAttributeSecurityHints, getAttributeValues, getBindVarCriteriaItem, getConjunction, getConjunctionString, getConjunctionValue, getCriteriaItem, getCriteriaItem, getCriteriaItemArray, getCriteriaItems, getCriteriaItems, getCriteriaItemsAndBindVars, getCriteriaItemsForSearch, getEffectiveDateMode, getExprVarVal, getItemsConjunction, getItemsConjunction, getKey, getLocale, getName, getNestedVCCount, getNestedViewCriteria, getOperator, getOperator, getProperties, getSecurityHints, getStructureDef, getUpperColumnsValue, getViewCriteria, getViewObjectBindVars, hasAttributeListChanged, hasData, hasSameConjunction, initUniqueRowName, isAttributeSearchable, isAttributeUpdateable, isDead, isUpperColumns, lock, mergeFrom, notifyChanged, readXML, readXML, refresh, remove, removeAndRetain, removeCriteriaItem, removeFromCollection, resetOperator, setAttribute, setAttribute, setAttributeValues, setBindVarCriteriaItem, setConjunction, setConjunctionOnItems, setCriteriaItem, setCriteriaItem, setEffectiveDateMode, setExprVarVal, setName, setNewRowState, setOperator, setOperator, setUpperColumns, setUpperColumnsValue, toString, validate, writeXML, writeXML, writeXML, writeXML
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ViewCriteriaRowImpl

public ViewCriteriaRowImpl(ViewCriteria viewCriteria)

ViewCriteriaRowImpl

public ViewCriteriaRowImpl(ViewCriteria viewCriteria,
                           java.lang.Object[] data)
Method Detail

isDirty

public boolean isDirty()
Description copied from interface: DefPersistable
This method returns if an Object is modified from last save/load

Specified by:
isDirty in interface DefPersistable
Returns:
Returns true if the Object is dirty. Returns false otherwise.

setDirty

public void setDirty(boolean isDirty)
Description copied from interface: DefPersistable
This method marks the Object dirty

Specified by:
setDirty in interface DefPersistable
Parameters:
isDirty - If true the Object is marked Dirty.

isNew

public boolean isNew()
Description copied from interface: DefPersistable
This method returns if this object is previously persisted.

Specified by:
isNew in interface DefPersistable
Returns:
true if the Object is previously persisted. Returns false otherwise.

setNew

public void setNew(boolean b)
Description copied from interface: DefPersistable
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 DefPersistable
Parameters:
b - If true the Object is marked as new object.

getOrigObject

public DefPersistable getOrigObject()
Specified by:
getOrigObject in interface DefPersistable

setOrigObject

public void setOrigObject(DefPersistable oldObj)
Specified by:
setOrigObject in interface DefPersistable

getFullName

public java.lang.String getFullName()
Description copied from interface: DefPersistable
This method returns the Persistence reference of the object. The Persistence Reference is uniquely identifiable fully qualified name of the object.

Specified by:
getFullName in interface DefPersistable
Returns:
the Persistence Reference of the object

writeObject

public void writeObject(DefWriter jos)
Description copied from interface: PersistentDefinition
Objects should write their persistence output in this method

Specified by:
writeObject in interface PersistentDefinition
Parameters:
jos - the Output storage for persistence

writeContents

public void writeContents(DefWriter jos)
Description copied from interface: PersistentDefinition
Objects should write their persistence output in this method

Specified by:
writeContents in interface PersistentDefinition
Parameters:
jos - the Output storage for persistence

writeChildren

public void writeChildren(DefWriter jos)
Description copied from interface: PersistentDefinition
Writes the Object's children to the Persistent storage

Specified by:
writeChildren in interface PersistentDefinition
Parameters:
jos - the Output storage for persistence

loadXMLContents

public void loadXMLContents(DefElement xmlElement)

getXMLElementTag

public java.lang.String getXMLElementTag()
Description copied from interface: PersistentDefinition
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 PersistentDefinition
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.

getDefXMLElementTag

public java.lang.String getDefXMLElementTag()
Specified by:
getDefXMLElementTag in interface PersistentDefinition

getDefXMLNameSpace

public java.lang.String getDefXMLNameSpace()
Specified by:
getDefXMLNameSpace in interface PersistentDefinition

createCriteriaItem

protected ViewCriteriaItem createCriteriaItem(int index,
                                              java.lang.String name,
                                              int kind)
Overrides:
createCriteriaItem in class ViewCriteriaRow

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.4.0)

E10653-05

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