Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.comm.interfaces
Interface IISeriesSQLStatement

All Known Implementing Classes:
ISeriesSQLStatement

public interface IISeriesSQLStatement

This interface encapsulates the information returned by QSQCHKS API to check the SQL Statements on the iSeries.

See Also:
ISeriesSyntaxCheckSQLStatements

Field Summary
static String copyright
           
 
Method Summary
 int getColumnNumberFirstByte()
          Column Number of first byte of statement
 int getColumnNumberLastByte()
          Column Number of last byte of statement
 int getColumnNumberOfError()
          Column Number of syntax error
 int getInformationLength()
          Length of Information returned
 String getMessageID()
          SQL Message ID
 int getMessageReplacementLen()
          Length of Message Replacement text
 String getMessageReplacementText()
          Message Replacement Text
 int getRecordNumberFirstByte()
          Record Number of first byte of statement
 int getRecordNumberLastByte()
          Record Number of last byte of statement
 int getRecordNumberOfError()
          Record Number of syntax error
 String getState()
          SQLSTATE
 void setColumnNumberFirstByte(int colnumber)
           
 void setColumnNumberLastByte(int colnumber)
           
 void setColumnNumberOfError(int colnumber)
           
 void setInformationLength(int length)
           
 void setMessageID(String msgid)
           
 void setMessageReplacementLen(int length)
           
 void setMessageReplacementText(String msgtext)
           
 void setRecordNumberFirstByte(int recnumber)
           
 void setRecordNumberLastByte(int recnumber)
           
 void setRecordNumberOfError(int recnumber)
           
 void setState(String state)
           
 

Field Detail

copyright

static final String copyright
See Also:
Constant Field Values
Method Detail

setInformationLength

void setInformationLength(int length)
Parameters:
Length - of Information returned

setRecordNumberFirstByte

void setRecordNumberFirstByte(int recnumber)
Parameters:
Record - Number of first byte of statement

setColumnNumberFirstByte

void setColumnNumberFirstByte(int colnumber)
Parameters:
Column - Number of first byte of statement

setRecordNumberLastByte

void setRecordNumberLastByte(int recnumber)
Parameters:
Record - Number of Last byte of statement

setColumnNumberLastByte

void setColumnNumberLastByte(int colnumber)
Parameters:
Column - Number of Last byte of statement

setRecordNumberOfError

void setRecordNumberOfError(int recnumber)
Parameters:
Record - Number of syntax error

setColumnNumberOfError

void setColumnNumberOfError(int colnumber)
Parameters:
Column - Number of syntax error

setMessageID

void setMessageID(String msgid)
Parameters:
SQL - Message ID

setState

void setState(String state)
Parameters:
SQLSTATE -

setMessageReplacementLen

void setMessageReplacementLen(int length)
Parameters:
Length - of Message Replacement text

setMessageReplacementText

void setMessageReplacementText(String msgtext)
Parameters:
Message - Replacement Text

getInformationLength

int getInformationLength()
Length of Information returned


getRecordNumberFirstByte

int getRecordNumberFirstByte()
Record Number of first byte of statement


getColumnNumberFirstByte

int getColumnNumberFirstByte()
Column Number of first byte of statement


getRecordNumberLastByte

int getRecordNumberLastByte()
Record Number of last byte of statement


getColumnNumberLastByte

int getColumnNumberLastByte()
Column Number of last byte of statement


getRecordNumberOfError

int getRecordNumberOfError()
Record Number of syntax error


getColumnNumberOfError

int getColumnNumberOfError()
Column Number of syntax error


getMessageID

String getMessageID()
SQL Message ID


getState

String getState()
SQLSTATE


getMessageReplacementLen

int getMessageReplacementLen()
Length of Message Replacement text


getMessageReplacementText

String getMessageReplacementText()
Message Replacement Text


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.