Rational Developer for Power Systems Software
V7.6

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

java.lang.Object
  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
ISeriesHostRecordNameOnly()
           
 
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

Copyright

public static final String Copyright
See Also:
Constant Field Values

file

protected String file

fileType

protected String fileType
Constructor Detail

ISeriesHostRecordNameOnly

public ISeriesHostRecordNameOnly()
Method Detail

setFile

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

Specified by:
setFile in interface IISeriesHostRecordNameOnly

setFileType

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

Specified by:
setFileType in interface IISeriesHostRecordNameOnly

getFile

public String getFile()
Get the file name.

Specified by:
getFile in interface IISeriesHostRecordNameOnly

getFileType

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

Specified by:
getFileType in interface IISeriesHostRecordNameOnly

toString

public String toString()
For printing to a stream file

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

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 ISeriesHostObjectNameOnly

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.