Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.comm.interfaces
Class ISeriesSQLStatement

java.lang.Object
  extended by com.ibm.etools.iseries.comm.interfaces.ISeriesSQLStatement
All Implemented Interfaces:
IISeriesSQLStatement

public class ISeriesSQLStatement
extends Object
implements IISeriesSQLStatement

This Java Bean represents the information returned by QSQCHKS API that checks SQL statement on the iSeries.


Field Summary
static String Copyright
           
 
Fields inherited from interface com.ibm.etools.iseries.comm.interfaces.IISeriesSQLStatement
copyright
 
Constructor Summary
ISeriesSQLStatement()
          Constructor for ISeriesSQLStatement
 
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)
           
 
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

ISeriesSQLStatement

public ISeriesSQLStatement()
Constructor for ISeriesSQLStatement

Method Detail

setInformationLength

public void setInformationLength(int length)
Specified by:
setInformationLength in interface IISeriesSQLStatement

setRecordNumberFirstByte

public void setRecordNumberFirstByte(int recnumber)
Specified by:
setRecordNumberFirstByte in interface IISeriesSQLStatement

setColumnNumberFirstByte

public void setColumnNumberFirstByte(int colnumber)
Specified by:
setColumnNumberFirstByte in interface IISeriesSQLStatement

setRecordNumberLastByte

public void setRecordNumberLastByte(int recnumber)
Specified by:
setRecordNumberLastByte in interface IISeriesSQLStatement

setColumnNumberLastByte

public void setColumnNumberLastByte(int colnumber)
Specified by:
setColumnNumberLastByte in interface IISeriesSQLStatement

setRecordNumberOfError

public void setRecordNumberOfError(int recnumber)
Specified by:
setRecordNumberOfError in interface IISeriesSQLStatement

setColumnNumberOfError

public void setColumnNumberOfError(int colnumber)
Specified by:
setColumnNumberOfError in interface IISeriesSQLStatement

setMessageID

public void setMessageID(String msgid)
Specified by:
setMessageID in interface IISeriesSQLStatement

setState

public void setState(String state)
Specified by:
setState in interface IISeriesSQLStatement

setMessageReplacementLen

public void setMessageReplacementLen(int length)
Specified by:
setMessageReplacementLen in interface IISeriesSQLStatement

setMessageReplacementText

public void setMessageReplacementText(String msgtext)
Specified by:
setMessageReplacementText in interface IISeriesSQLStatement

getInformationLength

public int getInformationLength()
Description copied from interface: IISeriesSQLStatement
Length of Information returned

Specified by:
getInformationLength in interface IISeriesSQLStatement

getRecordNumberFirstByte

public int getRecordNumberFirstByte()
Description copied from interface: IISeriesSQLStatement
Record Number of first byte of statement

Specified by:
getRecordNumberFirstByte in interface IISeriesSQLStatement

getColumnNumberFirstByte

public int getColumnNumberFirstByte()
Description copied from interface: IISeriesSQLStatement
Column Number of first byte of statement

Specified by:
getColumnNumberFirstByte in interface IISeriesSQLStatement

getRecordNumberLastByte

public int getRecordNumberLastByte()
Description copied from interface: IISeriesSQLStatement
Record Number of last byte of statement

Specified by:
getRecordNumberLastByte in interface IISeriesSQLStatement

getColumnNumberLastByte

public int getColumnNumberLastByte()
Description copied from interface: IISeriesSQLStatement
Column Number of last byte of statement

Specified by:
getColumnNumberLastByte in interface IISeriesSQLStatement

getRecordNumberOfError

public int getRecordNumberOfError()
Description copied from interface: IISeriesSQLStatement
Record Number of syntax error

Specified by:
getRecordNumberOfError in interface IISeriesSQLStatement

getColumnNumberOfError

public int getColumnNumberOfError()
Description copied from interface: IISeriesSQLStatement
Column Number of syntax error

Specified by:
getColumnNumberOfError in interface IISeriesSQLStatement

getMessageID

public String getMessageID()
Description copied from interface: IISeriesSQLStatement
SQL Message ID

Specified by:
getMessageID in interface IISeriesSQLStatement

getState

public String getState()
Description copied from interface: IISeriesSQLStatement
SQLSTATE

Specified by:
getState in interface IISeriesSQLStatement

getMessageReplacementLen

public int getMessageReplacementLen()
Description copied from interface: IISeriesSQLStatement
Length of Message Replacement text

Specified by:
getMessageReplacementLen in interface IISeriesSQLStatement

getMessageReplacementText

public String getMessageReplacementText()
Description copied from interface: IISeriesSQLStatement
Message Replacement Text

Specified by:
getMessageReplacementText in interface IISeriesSQLStatement

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.