iSeries Remote Systems
v6.0.0

com.ibm.etools.systems.as400filesubsys.impl
Class AS400RecordFactory

java.lang.Object
  extended bycom.ibm.etools.systems.as400filesubsys.impl.AS400RecordFactory
All Implemented Interfaces:
com.ibm.etools.iseries.comm.interfaces.IISeriesHostListBaseFactory, com.ibm.etools.iseries.comm.interfaces.IISeriesHostListRecordFactory

public class AS400RecordFactory
extends Object
implements com.ibm.etools.iseries.comm.interfaces.IISeriesHostListRecordFactory

This class is only used in non-datastore mode. It is passed to the comm layer's classes that return lists of records, which calls it back to instantiate each object in the returned list. By using this, we save performance costs by avoiding having to subsequently convert the returned objects to something we can use in Eclipse. Eclipse requires our objects to implement IAdaptable.


Field Summary
protected  ISeriesElementContext context
           
static String copyright
           
 
Fields inherited from interface com.ibm.etools.iseries.comm.interfaces.IISeriesHostListRecordFactory
Copyright
 
Constructor Summary
AS400RecordFactory(ISeriesElementContext context)
          Constructor for AS400RecordFieldFactory
 
Method Summary
 com.ibm.etools.iseries.comm.interfaces.IISeriesHostRecordDevice createDeviceRecordObject()
          Instantiate an object implementing IISeriesHostRecordDevice.
 com.ibm.etools.iseries.comm.interfaces.IISeriesHostRecordNameOnly createNameOnlyObject()
          Instantiate an object implementing IISeriesHostRecordNameOnly.
 com.ibm.etools.iseries.comm.interfaces.IISeriesHostRecordBasic createRecordObject()
          Instantiate an object implementing 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

context

protected ISeriesElementContext context
Constructor Detail

AS400RecordFactory

public AS400RecordFactory(ISeriesElementContext context)
Constructor for AS400RecordFieldFactory

Method Detail

createNameOnlyObject

public com.ibm.etools.iseries.comm.interfaces.IISeriesHostRecordNameOnly createNameOnlyObject()
Instantiate an object implementing IISeriesHostRecordNameOnly. The comm layer calls this, then populates it.

At this point we do not support this level of record request.

Specified by:
createNameOnlyObject in interface com.ibm.etools.iseries.comm.interfaces.IISeriesHostListRecordFactory

createRecordObject

public com.ibm.etools.iseries.comm.interfaces.IISeriesHostRecordBasic createRecordObject()
Instantiate an object implementing IISeriesHostRecordBasic. The comm layer calls this, then populates it.

We instantiate and return an ISeriesRecord object from the api package

Specified by:
createRecordObject in interface com.ibm.etools.iseries.comm.interfaces.IISeriesHostListRecordFactory

createDeviceRecordObject

public com.ibm.etools.iseries.comm.interfaces.IISeriesHostRecordDevice createDeviceRecordObject()
Instantiate an object implementing IISeriesHostRecordDevice. The comm layer calls this, then populates it.

We instantiate and return an ISeriesRecordDevice object from the api package

Specified by:
createDeviceRecordObject in interface com.ibm.etools.iseries.comm.interfaces.IISeriesHostListRecordFactory

iSeries Remote Systems
v6.0.0

Copyright © 2005 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.