Rational Developer for Power Systems Software
V7.6

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

java.lang.Object
  extended by com.ibm.etools.iseries.comm.interfaces.ISeriesHostListRecordFactory
All Implemented Interfaces:
IISeriesHostListBaseFactory, IISeriesHostListRecordFactory

public class ISeriesHostListRecordFactory
extends Object
implements IISeriesHostListRecordFactory

This class is simply a factory for creating new instances of the appropriate object for record lists. It is used as the default factory in ISeriesListRecords. Should somebody wish to use their own object instead they would:

  • create their own class that implements IISeriesHostRecordNameOnly, IISeriesHostRecordBasic, or IISeriesHostRecordDevice
  • create their own factory class like this that implements (@link IISeriesHostListRecordFactory} with the methods prescribed by it.
  • when using comm layer code like ISeriesListRecords, you pass in your factory instance which is what is used to create the returned object.

    See Also:
    IISeriesHostListRecordFactory, IISeriesHostRecordNameOnly, IISeriesHostRecordBasic, IISeriesHostRecordDevice, ISeriesHostRecordNameOnly, ISeriesHostRecordBasic, ISeriesHostRecordDevice

    Field Summary
    static String Copyright
               
     
    Constructor Summary
    ISeriesHostListRecordFactory()
               
     
    Method Summary
     IISeriesHostRecordDevice createDeviceRecordObject()
              Return an instance of a class that implements the interface IISeriesHostRecordDevice
     IISeriesHostRecordNameOnly createNameOnlyObject()
              Return an instance of a class that implements the interface IISeriesHostRecordNameOnly
     IISeriesHostRecordBasic createRecordObject()
              Return an instance of a class that implements the interface IISeriesHostRecordBasic
     
    Methods inherited from class java.lang.Object
    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
     

    Field Detail

    Copyright

    public static final String Copyright
    See Also:
    Constant Field Values
    Constructor Detail

    ISeriesHostListRecordFactory

    public ISeriesHostListRecordFactory()
    Method Detail

    createNameOnlyObject

    public IISeriesHostRecordNameOnly createNameOnlyObject()
    Return an instance of a class that implements the interface IISeriesHostRecordNameOnly

    Specified by:
    createNameOnlyObject in interface IISeriesHostListRecordFactory

    createRecordObject

    public IISeriesHostRecordBasic createRecordObject()
    Return an instance of a class that implements the interface IISeriesHostRecordBasic

    Specified by:
    createRecordObject in interface IISeriesHostListRecordFactory

    createDeviceRecordObject

    public IISeriesHostRecordDevice createDeviceRecordObject()
    Return an instance of a class that implements the interface IISeriesHostRecordDevice

    Specified by:
    createDeviceRecordObject in interface IISeriesHostListRecordFactory

    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.