Rational Developer for Power Systems Software
V7.6

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

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.ISeriesHostFieldNameOnly
All Implemented Interfaces:
IISeriesHostFieldNameOnly, IISeriesHostObjectNameOnly, IISeriesHostRecordNameOnly
Direct Known Subclasses:
ISeriesHostFieldBasic

public class ISeriesHostFieldNameOnly
extends ISeriesHostRecordNameOnly
implements IISeriesHostFieldNameOnly

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


Field Summary
static String Copyright
           
protected  String record
           
 
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
ISeriesHostFieldNameOnly()
           
 
Method Summary
 String getRecord()
          Get the record name.
 void setRecord(String name)
          Set the record name.
 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.ISeriesHostRecordNameOnly
getFile, getFileType, setFile, setFileType
 
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
 
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

record

protected String record
Constructor Detail

ISeriesHostFieldNameOnly

public ISeriesHostFieldNameOnly()
Method Detail

setRecord

public void setRecord(String name)
Set the record name.

Specified by:
setRecord in interface IISeriesHostFieldNameOnly

getRecord

public String getRecord()
Get the record name.

Specified by:
getRecord in interface IISeriesHostFieldNameOnly

toString

public String toString()
For printing to a stream file

Specified by:
toString in interface IISeriesHostFieldNameOnly
Specified by:
toString in interface IISeriesHostObjectNameOnly
Specified by:
toString in interface IISeriesHostRecordNameOnly
Overrides:
toString in class ISeriesHostRecordNameOnly

writeObjectInfo

public void writeObjectInfo(PrintWriter writer)
For debugging purposes

Specified by:
writeObjectInfo in interface IISeriesHostFieldNameOnly
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.