Rational Developer for Power Systems Software

Class ISeriesHostRecordNameOnly

  extended by com.ibm.etools.iseries.comm.interfaces.ISeriesHostObjectNameOnly
      extended by com.ibm.etools.iseries.comm.interfaces.ISeriesHostRecordNameOnly
All Implemented Interfaces:
IISeriesHostObjectNameOnly, IISeriesHostRecordNameOnly
Direct Known Subclasses:
ISeriesHostFieldNameOnly, ISeriesHostRecordBasic, ISeriesHostRecordDevice

public class ISeriesHostRecordNameOnly
extends ISeriesHostObjectNameOnly
implements IISeriesHostRecordNameOnly

This class represents a single record name on the AS/400. It stores the name of the record, plus the library and file it is part of. Note both library and name properties are inherited so we need only worry here about the file property.

Field Summary
static String Copyright
protected  String file
protected  String fileType
Fields inherited from class com.ibm.etools.iseries.comm.interfaces.ISeriesHostObjectNameOnly
library, name
Constructor Summary
Method Summary
 String getFile()
          Get the file name.
 String getFileType()
          Return the type of file this record is from.
 void setFile(String name)
          Set the file name.
 void setFileType(String type)
          Set the file type.
 String toString()
          For printing to a stream file
 void writeObjectInfo(PrintWriter writer)
          For debugging purposes
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.IISeriesHostObjectNameOnly
getLibrary, getName, setLibrary, setName

Field Detail


public static final String Copyright
See Also:
Constant Field Values


protected String file


protected String fileType
Constructor Detail


public ISeriesHostRecordNameOnly()
Method Detail


public void setFile(String name)
Set the file name.

Specified by:
setFile in interface IISeriesHostRecordNameOnly


public void setFileType(String type)
Set the file type.

Specified by:
setFileType in interface IISeriesHostRecordNameOnly


public String getFile()
Get the file name.

Specified by:
getFile in interface IISeriesHostRecordNameOnly


public String getFileType()
Return the type of file this record is from. Will be one of:

Specified by:
getFileType in interface IISeriesHostRecordNameOnly


public String toString()
For printing to a stream file

Specified by:
toString in interface IISeriesHostObjectNameOnly
Specified by:
toString in interface IISeriesHostRecordNameOnly
toString in class ISeriesHostObjectNameOnly


public void writeObjectInfo(PrintWriter writer)
For debugging purposes

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

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.