org.apache.ojb.broker.accesslayer.sql
Class SqlProcedureStatement

java.lang.Object
  extended by org.apache.ojb.broker.accesslayer.sql.SqlProcedureStatement
All Implemented Interfaces:
SqlStatement

public class SqlProcedureStatement
extends Object
implements SqlStatement

Model a call to a stored procedure based on ProcedureDescriptors

Version:
$Id: SqlProcedureStatement.java,v 1.1 2007-08-24 22:17:39 ewestfal Exp $
Author:
Randall Burt, Ron Gallagher
See Also:
ProcedureDescriptor

Constructor Summary
SqlProcedureStatement(ProcedureDescriptor procedureDescriptor, Logger logger)
          Create an instance of this object.
 
Method Summary
 String getStatement()
          Get the syntax that is required to invoke the procedure that is defined by the ProcedureDescriptor that was passed to the constructor of this class.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlProcedureStatement

public SqlProcedureStatement(ProcedureDescriptor procedureDescriptor,
                             Logger logger)
Create an instance of this object.

Parameters:
procedureDescriptor - the descriptor that defines the procedure to invoke.
logger - the logger to utilize
Method Detail

getStatement

public String getStatement()
Get the syntax that is required to invoke the procedure that is defined by the ProcedureDescriptor that was passed to the constructor of this class.

Specified by:
getStatement in interface SqlStatement
See Also:
SqlStatement.getStatement()


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.