Rational Developer for Power Systems Software
V7.6

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

java.lang.Object
  extended by com.ibm.etools.iseries.comm.interfaces.ISeriesHostObjectNameOnly
      extended by com.ibm.etools.iseries.comm.interfaces.ISeriesHostRecordNameOnly
          extended by com.ibm.etools.iseries.comm.interfaces.ISeriesHostRecordDevice
All Implemented Interfaces:
IISeriesHostObjectNameOnly, IISeriesHostRecordDevice, IISeriesHostRecordNameOnly

public class ISeriesHostRecordDevice
extends ISeriesHostRecordNameOnly
implements IISeriesHostRecordDevice

This class represents a single record format for a device file on the AS/400. This is info as returned by QUSLRCD, format 0300. For database files, different record format info is available via ISeriesHostRecordBasic


Field Summary
protected  int bufferSize
           
static String Copyright
           
protected  boolean hasINDARA
           
protected  boolean hasSLNO
           
protected  String lowestResponseInd
           
protected  String type
           
 
Fields inherited from class com.ibm.etools.iseries.comm.interfaces.ISeriesHostRecordNameOnly
file, fileType
 
Fields inherited from class com.ibm.etools.iseries.comm.interfaces.ISeriesHostObjectNameOnly
library, name
 
Constructor Summary
ISeriesHostRecordDevice()
           
 
Method Summary
 int getBufferSize()
          Get the record format buffer size.
 boolean getHasSeparateIndicatorArea()
          Get to true/false if this record format has a separate indicator area (INDARA).
 boolean getHasStartingLineNumber()
          Get to true/false if this record format has a starting line number (SLNO).
 String getLowestResponseIndicator()
          Get the record format lowest response indicator.
 String getType()
          Get the record format type.
 void setBufferSize(int len)
          Set the record format buffer size.
 void setHasSeparateIndicatorArea(boolean has)
          Set to true/false if this record format has a separate indicator area (INDARA).
 void setHasStartingLineNumber(boolean has)
          Set to true/false if this record format has a starting line number (SLNO).
 void setLowestResponseIndicator(String lowest)
          Set the record format lowest response indicator.
 void setType(String type)
          Set the record format type.
 void writeObjectInfo(PrintWriter writer)
          For debugging purposes
 
Methods inherited from class com.ibm.etools.iseries.comm.interfaces.ISeriesHostRecordNameOnly
getFile, getFileType, setFile, setFileType, toString
 
Methods inherited from class com.ibm.etools.iseries.comm.interfaces.ISeriesHostObjectNameOnly
getLibrary, getName, setLibrary, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.ibm.etools.iseries.comm.interfaces.IISeriesHostRecordNameOnly
getFile, getFileType, setFile, setFileType, toString
 
Methods inherited from interface com.ibm.etools.iseries.comm.interfaces.IISeriesHostObjectNameOnly
getLibrary, getName, setLibrary, setName
 

Field Detail

Copyright

public static final String Copyright
See Also:
Constant Field Values

lowestResponseInd

protected String lowestResponseInd

type

protected String type

bufferSize

protected int bufferSize

hasSLNO

protected boolean hasSLNO

hasINDARA

protected boolean hasINDARA
Constructor Detail

ISeriesHostRecordDevice

public ISeriesHostRecordDevice()
Method Detail

setLowestResponseIndicator

public void setLowestResponseIndicator(String lowest)
Set the record format lowest response indicator. Usually called by the ISeriesListRecords class.

Specified by:
setLowestResponseIndicator in interface IISeriesHostRecordDevice

setBufferSize

public void setBufferSize(int len)
Set the record format buffer size. Usually called by the ISeriesListRecords class.

Specified by:
setBufferSize in interface IISeriesHostRecordDevice

setType

public void setType(String type)
Set the record format type. Usually called by the ISeriesListRecords class.

Specified by:
setType in interface IISeriesHostRecordDevice

setHasStartingLineNumber

public void setHasStartingLineNumber(boolean has)
Set to true/false if this record format has a starting line number (SLNO). Usually called by the ISeriesListRecords class.

Specified by:
setHasStartingLineNumber in interface IISeriesHostRecordDevice

setHasSeparateIndicatorArea

public void setHasSeparateIndicatorArea(boolean has)
Set to true/false if this record format has a separate indicator area (INDARA). Usually called by the ISeriesListRecords class.

Specified by:
setHasSeparateIndicatorArea in interface IISeriesHostRecordDevice

getLowestResponseIndicator

public String getLowestResponseIndicator()
Get the record format lowest response indicator.

Specified by:
getLowestResponseIndicator in interface IISeriesHostRecordDevice

getBufferSize

public int getBufferSize()
Get the record format buffer size.

Specified by:
getBufferSize in interface IISeriesHostRecordDevice

getType

public String getType()
Get the record format type.

Specified by:
getType in interface IISeriesHostRecordDevice

getHasStartingLineNumber

public boolean getHasStartingLineNumber()
Get to true/false if this record format has a starting line number (SLNO).

Specified by:
getHasStartingLineNumber in interface IISeriesHostRecordDevice

getHasSeparateIndicatorArea

public boolean getHasSeparateIndicatorArea()
Get to true/false if this record format has a separate indicator area (INDARA).

Specified by:
getHasSeparateIndicatorArea in interface IISeriesHostRecordDevice

writeObjectInfo

public void writeObjectInfo(PrintWriter writer)
For debugging purposes

Specified by:
writeObjectInfo in interface IISeriesHostObjectNameOnly
Specified by:
writeObjectInfo in interface IISeriesHostRecordNameOnly
Overrides:
writeObjectInfo in class ISeriesHostRecordNameOnly

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.