org.eclipse.emf.oda.ecore.impl
Class ResultSet.EDataType

java.lang.Object
  extended by org.eclipse.emf.oda.ecore.impl.ResultSet
      extended by org.eclipse.emf.oda.ecore.impl.ResultSet.EDataType
All Implemented Interfaces:
org.eclipse.datatools.connectivity.oda.IResultSet
Enclosing class:
ResultSet

protected static class ResultSet.EDataType
extends ResultSet

A set of results that contains values of data types.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.emf.oda.ecore.impl.ResultSet
ResultSet.Blob, ResultSet.Clob, ResultSet.EClass, ResultSet.EDataType, ResultSet.JavaObject
 
Field Summary
protected  ResultSetMetaData.EDataType metaData
           
 
Fields inherited from class org.eclipse.emf.oda.ecore.impl.ResultSet
cursor, maxRows, results, wasNull
 
Constructor Summary
protected ResultSet.EDataType(EDataType type, EList<?> results)
           
 
Method Summary
 int findColumn(java.lang.String columnName)
           
 org.eclipse.datatools.connectivity.oda.IResultSetMetaData getMetaData()
           
protected  java.lang.Object getValue(int index)
          Returns the value (of the feature) at the specified index.
 
Methods inherited from class org.eclipse.emf.oda.ecore.impl.ResultSet
close, create, getBigDecimal, getBigDecimal, getBlob, getBlob, getBoolean, getBoolean, getClob, getClob, getDate, getDate, getDouble, getDouble, getInt, getInt, getObject, getObject, getRow, getString, getString, getTime, getTime, getTimestamp, getTimestamp, next, setMaxRows, wasNull
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

metaData

protected final ResultSetMetaData.EDataType metaData
Constructor Detail

ResultSet.EDataType

protected ResultSet.EDataType(EDataType type,
                              EList<?> results)
Method Detail

getMetaData

public org.eclipse.datatools.connectivity.oda.IResultSetMetaData getMetaData()
                                                                      throws org.eclipse.datatools.connectivity.oda.OdaException
Throws:
org.eclipse.datatools.connectivity.oda.OdaException

findColumn

public int findColumn(java.lang.String columnName)
               throws org.eclipse.datatools.connectivity.oda.OdaException
Throws:
org.eclipse.datatools.connectivity.oda.OdaException

getValue

protected java.lang.Object getValue(int index)
                             throws org.eclipse.datatools.connectivity.oda.OdaException
Description copied from class: ResultSet
Returns the value (of the feature) at the specified index.

Specified by:
getValue in class ResultSet
Parameters:
index - the 1-based index of the desired value
Returns:
the value
Throws:
org.eclipse.datatools.connectivity.oda.OdaException - if data source error occurs

Copyright 2001-2012 IBM Corporation and others.
All Rights Reserved.