Rational Developer for Power Systems Software
V7.6

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

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

public class LSRECStruct
extends Object

This class does represent any specific CODE communications structure. Instead it holds the information that is returned on subsequent rseRead requests after a call to rseOpenList for retrieving a record list. Returns: buffer of size 200 which contains: - recordname which is null terminated - recordtype which is also null terminated (contains one of: SFLMSG, SFLCTL, SFL, RECORD, USRDFN - 10 bytes attributes - first byte is slno flag - 2nd byte is indara indicator flag - 3 - 4 bytes is record len - 5 - 10 unused - 50 bytes for record text


Field Summary
static String copyright
           
 
Constructor Summary
protected LSRECStruct()
          Constructor
 
Method Summary
protected  void setIndicatorAreaPresent(boolean indara)
          Sets the indara.
protected  void setRecordLength(short recordLength)
          Sets the recordLength.
protected  void setRecordName(String recordName)
          Sets the recordName.
protected  void setRecordType(String recordType)
          Sets the recordType.
protected  void setStartingLineNumber(boolean slno)
          Sets the slno.
protected  void setText(String text)
          Sets the text.
protected  void write(JavaToCOutputStream out)
          Write this record to the output stream
 
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

LSRECStruct

protected LSRECStruct()
Constructor

Method Detail

setIndicatorAreaPresent

protected void setIndicatorAreaPresent(boolean indara)
Sets the indara.

Parameters:
indara - The indara to set

setRecordLength

protected void setRecordLength(short recordLength)
Sets the recordLength.

Parameters:
recordLength - The recordLength to set

setRecordName

protected void setRecordName(String recordName)
Sets the recordName.

Parameters:
recordName - The recordName to set

setRecordType

protected void setRecordType(String recordType)
Sets the recordType.

Parameters:
recordType - The recordType to set

setStartingLineNumber

protected void setStartingLineNumber(boolean slno)
Sets the slno.

Parameters:
slno - The slno to set

setText

protected void setText(String text)
Sets the text.

Parameters:
text - The text to set

write

protected void write(JavaToCOutputStream out)
              throws IOException
Write this record to the output stream

Throws:
IOException

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.