BEA NetUI tags and APIs are included for backward compatibility only. For new applications, use the Beehive tags and APIs.

com.bea.wlw.netui.tags.databinding.grid.datacontext
Class DataContext

java.lang.Object
  extended by com.bea.wlw.netui.tags.databinding.grid.datacontext.DataContext
Direct Known Subclasses:
EmptyDataContext, RowSetDataContext

public abstract class DataContext
extends Object


Nested Class Summary
static class DataContext.DataContextItemMetadata
           
static class DataContext.RowIdentifierItem
           
 
Field Summary
protected static String EMPTY_STRING
           
 
Constructor Summary
DataContext()
           
 
Method Summary
abstract  int getColumnCount()
           
abstract  String getColumnName(int index)
           
abstract  int getColumnType(int index)
           
abstract  int getColumnType(String name)
           
abstract  Object getColumnValue(int index)
           
abstract  Object getColumnValue(String name)
           
abstract  int getCurrentIndex()
           
abstract  Object getCurrentItem()
           
abstract  DataContext.DataContextItemMetadata getCurrentMetadata()
           
abstract  boolean hasNext()
           
abstract  Object next()
           
abstract  void setIterationRange(int start, int end)
           
abstract  int size()
           
abstract  Object unwrap()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EMPTY_STRING

protected static final String EMPTY_STRING
See Also:
Constant Field Values
Constructor Detail

DataContext

public DataContext()
Method Detail

getColumnType

public abstract int getColumnType(int index)

getColumnType

public abstract int getColumnType(String name)

getColumnName

public abstract String getColumnName(int index)

getColumnValue

public abstract Object getColumnValue(int index)
Throws:
NoSuchDataException - throws a NoSuchDataException when the data at the given position does not exist

getColumnValue

public abstract Object getColumnValue(String name)
Throws:
NoSuchDataException - throws a NoSuchDataException when the data at the requested name does not exist

getCurrentItem

public abstract Object getCurrentItem()

getCurrentIndex

public abstract int getCurrentIndex()

getColumnCount

public abstract int getColumnCount()

next

public abstract Object next()

hasNext

public abstract boolean hasNext()

unwrap

public abstract Object unwrap()

size

public abstract int size()

setIterationRange

public abstract void setIterationRange(int start,
                                       int end)
Throws:
IllegalArgumentException - when the start or end are clearly illegal.

getCurrentMetadata

public abstract DataContext.DataContextItemMetadata getCurrentMetadata()

BEA NetUI tags and APIs are included for backward compatibility only. For new applications, use the Beehive tags and APIs.