Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

oracle.cabo.servlet.ui.data
Class StateDataObject

java.lang.Object
  |
  +--oracle.cabo.servlet.ui.data.StateDataObject
All Implemented Interfaces:
DataObject, MutableDataObject

public class StateDataObject
extends java.lang.Object
implements MutableDataObject

Turns a State object into a DataObject, so they can be used as generic data objects for any interface that takes DataObjects. =-=JRF Move to servlet.data?


Constructor Summary
StateDataObject(State state)
           
 
Method Summary
 java.lang.Object selectValue(RenderingContext context, java.lang.Object select)
          Given a select string, returns the value matching that selection.
 void updateValue(RenderingContext context, java.lang.Object select, java.lang.Object value)
          Given a select string, updates the value matching that selection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StateDataObject

public StateDataObject(State state)
Method Detail

selectValue

public java.lang.Object selectValue(RenderingContext context,
                                    java.lang.Object select)
Description copied from interface: DataObject
Given a select string, returns the value matching that selection. It is legal to return null if the select key doesn't match anything.

Specified by:
selectValue in interface DataObject
Following copied from interface: oracle.cabo.ui.data.DataObject
Parameters:
context - the current rendering context
select - a select criterion, syntax as defined by the data object

updateValue

public void updateValue(RenderingContext context,
                        java.lang.Object select,
                        java.lang.Object value)
Description copied from interface: MutableDataObject
Given a select string, updates the value matching that selection.

Specified by:
updateValue in interface MutableDataObject
Following copied from interface: oracle.cabo.ui.data.MutableDataObject
Parameters:
context - the current rendering context
select - a select criterion, syntax as defined by the data object
value - the new value associated with this select criterion

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

Copyright © 2002,2003, Oracle. All Rights Reserved.