public class ResultSetMetaDataWrapper extends GroovyObjectSupport
ResultSetMetaData.
 This allows iteration over columns using idiomatic Groovy, e.g.:
 
 meta.each {col  ->
   println col.columnName
 }
 
 All ResultSetMetaData column methods taking a column index
 are available on a column either as a no-arg getter or via a property.
 
 This wrapper is created by an iterator invoked for ResultSetMetaData.
SqlExtensions| Constructor and Description | 
|---|
ResultSetMetaDataWrapper(ResultSetMetaData target,
                        int index)  | 
| Modifier and Type | Method and Description | 
|---|---|
Object | 
getProperty(String property)
Retrieves a property value. 
 | 
Object | 
invokeMethod(String name,
            Object args)
Invokes the given method. 
 | 
void | 
setProperty(String property,
           Object newValue)
Sets the given property to the new value. 
 | 
getMetaClass, setMetaClasspublic ResultSetMetaDataWrapper(ResultSetMetaData target, int index)
public Object invokeMethod(String name, Object args)
GroovyObjectname - the name of the method to callargs - the arguments to use for the method callpublic Object getProperty(String property)
GroovyObjectproperty - the name of the property of interestpublic void setProperty(String property, Object newValue)
GroovyObjectproperty - the name of the property of interestnewValue - the new value for the property