groovy.gdo
Class GroovyResultSet
java.lang.Object
|
+--groovy.lang.GroovyObjectSupport
|
+--groovy.gdo.GroovyResultSet
- All Implemented Interfaces:
- GroovyObject
- public class GroovyResultSet
- extends GroovyObjectSupport
Represents an extent of objects
- Version:
- $Revision: 1.3 $
- Author:
- Chris Stevenson, James Strachan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GroovyResultSet
public GroovyResultSet(ResultSet resultSet)
getProperty
public Object getProperty(String property)
- Specified by:
getProperty
in interface GroovyObject
- Overrides:
getProperty
in class GroovyObjectSupport
- Returns:
- the given property
setProperty
public void setProperty(String property,
Object newValue)
- Description copied from interface:
GroovyObject
- Sets the given property to the new value
- Specified by:
setProperty
in interface GroovyObject
- Overrides:
setProperty
in class GroovyObjectSupport
next
public boolean next()
throws SQLException
- Iterates to the next row
SQLException
add
public void add(Map values)
throws SQLException
- Adds a new row to this result set
- Parameters:
values
-
SQLException
Copyright © 2003 The Codehaus. All Rights Reserved.