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.
SqlGroovyMethods| Constructor and Description | 
|---|
| ResultSetMetaDataWrapper(java.sql.ResultSetMetaData target,
                        int index) | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.Object | getProperty(java.lang.String property)Retrieves a property value. | 
| java.lang.Object | invokeMethod(java.lang.String name,
            java.lang.Object args)Invokes the given method. | 
| void | setProperty(java.lang.String property,
           java.lang.Object newValue)Sets the given property to the new value. | 
getMetaClass, setMetaClasspublic ResultSetMetaDataWrapper(java.sql.ResultSetMetaData target,
                                int index)
public java.lang.Object invokeMethod(java.lang.String name,
                                     java.lang.Object args)
GroovyObjectinvokeMethod in interface GroovyObjectinvokeMethod in class GroovyObjectSupportname - the name of the method to callargs - the arguments to use for the method callpublic java.lang.Object getProperty(java.lang.String property)
GroovyObjectgetProperty in interface GroovyObjectgetProperty in class GroovyObjectSupportproperty - the name of the property of interestpublic void setProperty(java.lang.String property,
                        java.lang.Object newValue)
GroovyObjectsetProperty in interface GroovyObjectsetProperty in class GroovyObjectSupportproperty - the name of the property of interestnewValue - the new value for the property