com.beasys.commerce.axiom.document.jdbc
Class GetSchemasStatement
java.lang.Object
|
+--com.beasys.commerce.axiom.document.jdbc.CallableStatement
|
+--com.beasys.commerce.axiom.document.jdbc.GetSchemasStatement
- All Implemented Interfaces:
- java.sql.CallableStatement, java.sql.PreparedStatement, java.sql.Statement
- public class GetSchemasStatement
- extends CallableStatement
A callable statement which handles getting all the schemas.
This expects no input parameters. OutParam1 will be the Map of string
schema name to DocumentSchemaDef.
- Version:
- 1.0
- Author:
- BEA Systems, Inc.
Field Summary |
protected java.util.Map |
schemaMap
OutParam1: the map of DocumentSchemaDefs. |
Method Summary |
void |
clearParameters()
Clear the parameters. |
void |
close()
Subclasses must implement this method. |
boolean |
execute()
Execute the statement. |
java.lang.Object |
getObject(int index)
Get the output parameter. |
void |
setObject(int index,
java.lang.Object obj)
Set the input parameter. |
Methods inherited from class com.beasys.commerce.axiom.document.jdbc.CallableStatement |
addBatch, addBatch, cancel, clearBatch, clearWarnings, execute, executeBatch, executeQuery, executeQuery, executeUpdate, executeUpdate, getArray, getBigDecimal, getBigDecimal, getBlob, getBoolean, getByte, getBytes, getClob, getConnection, getDate, getDate, getDocumentProvider, getDouble, getFetchDirection, getFetchSize, getFloat, getInt, getLong, getMaxFieldSize, getMaxRows, getMetaData,
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
schemaMap
protected java.util.Map schemaMap
- OutParam1: the map of DocumentSchemaDefs.
GetSchemasStatement
public GetSchemasStatement(Connection con)
- Constructor.
close
public void close()
- Description copied from class:
CallableStatement
- Subclasses must implement this method.
- Overrides:
close
in class CallableStatement
- Following copied from class:
com.beasys.commerce.axiom.document.jdbc.CallableStatement
- Throws:
java.sql.SQLException
- thrown on an error.
clearParameters
public void clearParameters()
- Clear the parameters.
- Overrides:
clearParameters
in class CallableStatement
- Following copied from class:
com.beasys.commerce.axiom.document.jdbc.CallableStatement
- Throws:
java.sql.SQLException
- thrown on an error.
execute
public boolean execute()
throws java.sql.SQLException
- Execute the statement.
- Overrides:
execute
in class CallableStatement
- Throws:
java.sql.SQLException
- thrown on an error.
setObject
public void setObject(int index,
java.lang.Object obj)
throws java.sql.SQLException
- Set the input parameter.
- Overrides:
setObject
in class CallableStatement
- Throws:
java.sql.SQLException
- always thrown.
getObject
public java.lang.Object getObject(int index)
throws java.sql.SQLException
- Get the output parameter.
- Overrides:
getObject
in class CallableStatement
- Throws:
java.sql.SQLException
- thrown on invalid arg or not execute yet.
Copyright © 2000 BEA Systems, Inc. All Rights Reserved