Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.edit.verifiers.comm.bridge
Class SQLStatementInformation

java.lang.Object
  extended by com.ibm.etools.iseries.edit.verifiers.comm.bridge.SQLStatementInformation

public class SQLStatementInformation
extends Object


Field Summary
static String Copyright
           
 
Constructor Summary
SQLStatementInformation(ISeriesSQLStatementHeader stmtInfoHdr)
           
 
Method Summary
 String getMessageFile()
          The File which contains the message
 String getMessageID(int statementNum)
          The message ID of the message to be issued for the statement
 String getMessageLibrary()
          The library which contains the message
 int getNumberStatements()
          Number of statements processed
 int getReplacementLen(int statementNum)
          Return the replacement text length of the message for the statement
 String getReplacementText(int statementNum)
          Return the replacement text of the message for the statement
protected  int getStmtLength()
          Calculate the length of the statement Information Structure
protected  void write(JavaToCOutputStream out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values
Constructor Detail

SQLStatementInformation

public SQLStatementInformation(ISeriesSQLStatementHeader stmtInfoHdr)
Method Detail

write

protected void write(JavaToCOutputStream out)
              throws IOException
Throws:
IOException

getStmtLength

protected int getStmtLength()
Calculate the length of the statement Information Structure

Returns:
length

getMessageLibrary

public String getMessageLibrary()
The library which contains the message

Returns:
message library

getMessageFile

public String getMessageFile()
The File which contains the message

Returns:
message file

getMessageID

public String getMessageID(int statementNum)
The message ID of the message to be issued for the statement

Parameters:
statementNum -
Returns:
message ID

getReplacementText

public String getReplacementText(int statementNum)
Return the replacement text of the message for the statement

Parameters:
statementNum -
Returns:
replacement Text

getReplacementLen

public int getReplacementLen(int statementNum)
Return the replacement text length of the message for the statement

Parameters:
statemenNum -
Returns:
replacement Text Length

getNumberStatements

public int getNumberStatements()
Number of statements processed

Returns:
number of statements processed

Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.