Oracle Data-aware Controls Reference

oracle.dacf.dataset
Class QueryCriteriaValue

java.lang.Object
  extended byoracle.dacf.dataset.DacObject
      extended byoracle.dacf.dataset.DataItemImpl
          extended byoracle.dacf.dataset.QueryCriteriaValue
All Implemented Interfaces:
java.lang.Cloneable, javax.infobus.DataItem, javax.infobus.DataItemChangeManager, DataItemValidate, javax.infobus.ImmediateAccess, oracle.dacf.dataset.QueryCriteriaStoreListener

public class QueryCriteriaValue
extends DataItemImpl
implements javax.infobus.ImmediateAccess, oracle.dacf.dataset.QueryCriteriaStoreListener


Field Summary
 
Fields inherited from class oracle.dacf.dataset.DacObject
EMPTY_PREFIX, INITIAL_CAPACITY, ITEMNAME_DELIMITER
 
Constructor Summary
QueryCriteriaValue()
           
QueryCriteriaValue(java.lang.String name, oracle.dacf.dataset.QueryCriteriaStore store, javax.infobus.InfoBusEventListener source, ProducerObject producer, DacObject parent)
           
 
Method Summary
 void attributeChanged(java.lang.String name, int rowIndex, java.lang.Object oldValue)
           
 java.lang.Object clone()
          Creates a copy of the data item.
 oracle.dacf.dataset.QueryCriteriaStore getCriteriaStore()
          Returns the QueryCriteriaStore for the QueryCriteriaValue
 java.lang.String getPresentationString(java.util.Locale locale)
          Returns the value of this item, as a string to be displayed for a given locale.
 java.lang.Object getProperty(java.lang.String propertyName)
          Returns a property of the data item.
 java.lang.Object getValueAsObject()
          Returns the value of this item, as an object.
 java.lang.String getValueAsString()
          Returns the value of this item, as a string.
 void navigated(int old, int nu)
           
 void rowsAdded(int rowIndex, int count)
           
 void rowsChanged(int rowIndex, int count)
           
 void rowsDeleted(int rowIndex, int count)
           
protected  void setCriteriaStore(oracle.dacf.dataset.QueryCriteriaStore store)
          Sets the QueryCriteriaStore for the QueryCriteriaValue
 void setValue(java.lang.Object newValue)
          Sets the value of this item.
 
Methods inherited from class oracle.dacf.dataset.DataItemImpl
addDataItemChangeListener, doPostRollback, doPreRollback, findDataItem, fireItemsAvailable, fireItemsAvailable, fireItemsRevoked, getDataItemChangeSupport, getProducerObject, getSource, isPublished, postRollback, preRollback, publish, publish, release, removeDataItemChangeListener, revoke, setProducerObject, setSource, shutdown, toString, validateItem
 
Methods inherited from class oracle.dacf.dataset.DacObject
addChild, findDescendant, genCloneName, getChild, getChildIndex, getChildren, getName, getNumOfChildren, getParent, getPrefix, insertChildAt, removeChild, removeChildren, setChildren, setName, setParent, setPrefix
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QueryCriteriaValue

public QueryCriteriaValue()

QueryCriteriaValue

public QueryCriteriaValue(java.lang.String name,
                          oracle.dacf.dataset.QueryCriteriaStore store,
                          javax.infobus.InfoBusEventListener source,
                          ProducerObject producer,
                          DacObject parent)
Method Detail

clone

public java.lang.Object clone()
Creates a copy of the data item.

Overrides:
clone in class DataItemImpl
Returns:
A copy of the data item.

setCriteriaStore

protected void setCriteriaStore(oracle.dacf.dataset.QueryCriteriaStore store)
Sets the QueryCriteriaStore for the QueryCriteriaValue

Parameters:
store - the QueryCriteriaStore for the QueryCriteriaValue
See Also:
getCriteriaStore()

getCriteriaStore

public oracle.dacf.dataset.QueryCriteriaStore getCriteriaStore()
Returns the QueryCriteriaStore for the QueryCriteriaValue

Returns:
the QueryCriteriaStore for the QueryCriteriaValue
See Also:
setCriteriaStore(QueryCriteriaStore store)

attributeChanged

public void attributeChanged(java.lang.String name,
                             int rowIndex,
                             java.lang.Object oldValue)
Specified by:
attributeChanged in interface oracle.dacf.dataset.QueryCriteriaStoreListener

rowsAdded

public void rowsAdded(int rowIndex,
                      int count)
Specified by:
rowsAdded in interface oracle.dacf.dataset.QueryCriteriaStoreListener

rowsDeleted

public void rowsDeleted(int rowIndex,
                        int count)
Specified by:
rowsDeleted in interface oracle.dacf.dataset.QueryCriteriaStoreListener

rowsChanged

public void rowsChanged(int rowIndex,
                        int count)
Specified by:
rowsChanged in interface oracle.dacf.dataset.QueryCriteriaStoreListener

navigated

public void navigated(int old,
                      int nu)
Specified by:
navigated in interface oracle.dacf.dataset.QueryCriteriaStoreListener

getProperty

public java.lang.Object getProperty(java.lang.String propertyName)
Returns a property of the data item.

DataItemProperties defines the properties supported.

Specified by:
getProperty in interface javax.infobus.DataItem
Overrides:
getProperty in class DataItemImpl
Parameters:
propertyName - The name of the property.
Returns:
The value of the property.

getValueAsObject

public java.lang.Object getValueAsObject()
Returns the value of this item, as an object.

Specified by:
getValueAsObject in interface javax.infobus.ImmediateAccess
Returns:
The value of this item.

getValueAsString

public java.lang.String getValueAsString()
Returns the value of this item, as a string.

Specified by:
getValueAsString in interface javax.infobus.ImmediateAccess
Returns:
The value of this item.

getPresentationString

public java.lang.String getPresentationString(java.util.Locale locale)
Returns the value of this item, as a string to be displayed for a given locale.

Specified by:
getPresentationString in interface javax.infobus.ImmediateAccess
Parameters:
locale - The locale to display the value in.
Returns:
The value of this item.

setValue

public void setValue(java.lang.Object newValue)
              throws javax.infobus.InvalidDataException
Sets the value of this item.

Specified by:
setValue in interface javax.infobus.ImmediateAccess
Parameters:
newValue - The new value for the item; should implement the ImmediateAccess data item interface.
Throws:
javax.infobus.InvalidDataException - If the new value was invalid.

Oracle Data-aware Controls Reference

 

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