Rational Developer for Power Systems Software
V7.6

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

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.ISeriesHostRecordBasic
All Implemented Interfaces:
IISeriesHostObjectNameOnly, IISeriesHostRecordBasic, IISeriesHostRecordNameOnly
Direct Known Subclasses:
QSYSHostFileRecordFormat

public class ISeriesHostRecordBasic
extends ISeriesHostRecordNameOnly
implements IISeriesHostRecordBasic

This class represents a single record format on the AS/400. It holds basic information about that object. For device files, different record format info is available via ISeriesHostRecordDevice


Field Summary
static String Copyright
           
protected  String id
           
protected  int len
           
protected  int nbrFlds
           
protected  String text
           
 
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
ISeriesHostRecordBasic()
           
 
Method Summary
 String getDescription()
          Get the record format description.
 int getFieldCount()
          Get the number of fields.
 String getID()
          Get the record format ID.
 int getLength()
          Get the record format length
 void setDescription(String text)
          Set the record format description.
 void setFieldCount(int nbr)
          Set the number of fields.
 void setID(String id)
          Set the record format ID.
 void setLength(int len)
          Set the record format length Usually called by the ISeriesListRecords class.
 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

id

protected String id

text

protected String text

len

protected int len

nbrFlds

protected int nbrFlds
Constructor Detail

ISeriesHostRecordBasic

public ISeriesHostRecordBasic()
Method Detail

setID

public void setID(String id)
Set the record format ID. Usually called by the ISeriesListRecords class.

Specified by:
setID in interface IISeriesHostRecordBasic

setLength

public void setLength(int len)
Set the record format length Usually called by the ISeriesListRecords class.

Specified by:
setLength in interface IISeriesHostRecordBasic

setFieldCount

public void setFieldCount(int nbr)
Set the number of fields. Usually called by the ISeriesListRecords class.

Specified by:
setFieldCount in interface IISeriesHostRecordBasic

setDescription

public void setDescription(String text)
Set the record format description. Usually called by the ISeriesListRecords class.

Specified by:
setDescription in interface IISeriesHostRecordBasic

getID

public String getID()
Get the record format ID.

Specified by:
getID in interface IISeriesHostRecordBasic

getLength

public int getLength()
Get the record format length

Specified by:
getLength in interface IISeriesHostRecordBasic

getFieldCount

public int getFieldCount()
Get the number of fields.

Specified by:
getFieldCount in interface IISeriesHostRecordBasic

getDescription

public String getDescription()
Get the record format description.

Specified by:
getDescription in interface IISeriesHostRecordBasic

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.