org.skife.jdbi.v2
Class Binding

java.lang.Object
  extended by org.skife.jdbi.v2.Binding

public class Binding
extends Object

Represents the arguments bound to a particular statement


Constructor Summary
Binding()
           
 
Method Summary
 Argument forName(String name)
          Look up an argument by name
 Argument forPosition(int position)
          Look up an argument by position
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Binding

public Binding()
Method Detail

forName

public Argument forName(String name)
Look up an argument by name

Parameters:
name - the key to lookup the value of
Returns:
the bound Argument

forPosition

public Argument forPosition(int position)
Look up an argument by position

Parameters:
position - starts at 0, not 1
Returns:
arfument bound to that position

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011. All Rights Reserved.