Rational Developer for Power Systems Software

Class ISeriesHostRecordBasic

  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:

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
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


public static final String Copyright
See Also:
Constant Field Values


protected String id


protected String text


protected int len


protected int nbrFlds
Constructor Detail


public ISeriesHostRecordBasic()
Method Detail


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

Specified by:
setID in interface IISeriesHostRecordBasic


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

Specified by:
setLength in interface IISeriesHostRecordBasic


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

Specified by:
setFieldCount in interface IISeriesHostRecordBasic


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

Specified by:
setDescription in interface IISeriesHostRecordBasic


public String getID()
Get the record format ID.

Specified by:
getID in interface IISeriesHostRecordBasic


public int getLength()
Get the record format length

Specified by:
getLength in interface IISeriesHostRecordBasic


public int getFieldCount()
Get the number of fields.

Specified by:
getFieldCount in interface IISeriesHostRecordBasic


public String getDescription()
Get the record format description.

Specified by:
getDescription in interface IISeriesHostRecordBasic


public void writeObjectInfo(PrintWriter writer)
For debugging purposes

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

Rational Developer for Power Systems Software

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.