iSeries Remote Systems
v6.0.1

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

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

public class AS400FieldFactory
extends Object
implements com.ibm.etools.iseries.comm.interfaces.IISeriesHostListFieldFactory

This class is only used in non-datastore mode. It is passed to the comm layer's classes that return lists of fields, 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.IISeriesHostListFieldFactory
Copyright
 
Constructor Summary
AS400FieldFactory(ISeriesElementContext context)
          Constructor for AS400FieldFactory
 
Method Summary
 com.ibm.etools.iseries.comm.interfaces.IISeriesHostFieldBasic createFieldObject()
          Instantiate an object implementing IISeriesHostFieldBasic.
 com.ibm.etools.iseries.comm.interfaces.IISeriesHostFieldNameOnly createNameOnlyObject()
          Instantiate an object implementing IISeriesHostFieldNameOnly.
 
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

AS400FieldFactory

public AS400FieldFactory(ISeriesElementContext context)
Constructor for AS400FieldFactory

Method Detail

createNameOnlyObject

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

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

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

createFieldObject

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

We instantiate and return an ISeriesField object from the api package

Specified by:
createFieldObject in interface com.ibm.etools.iseries.comm.interfaces.IISeriesHostListFieldFactory

iSeries Remote Systems
v6.0.1

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.