com.opengamma.elsql
Interface SqlParams

All Known Implementing Classes:
MapSqlParams, SpringSqlParams

public interface SqlParams

Provides access to SQL parameters.

This interface abstracts the mechanism of obtaining the SQL parameters.


Method Summary
 boolean contains(String variable)
          Checks whether the variable exists.
 Object get(String variable)
          Gets the variable, returning null if not found.
 

Method Detail

contains

boolean contains(String variable)
Checks whether the variable exists.

Parameters:
variable - the variable
Returns:
true if it exists

get

Object get(String variable)
Gets the variable, returning null if not found.

Parameters:
variable - the variable
Returns:
the value associated with the variable


Copyright 2009-Present by OpenGamma Inc. and individual contributors, released under the Apache License Version 2.0