Rational Developer for Power Systems Software
V7.6

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

java.lang.Object
  extended by com.ibm.etools.iseries.comm.interfaces.ISeriesHostObjectBasicFactory
All Implemented Interfaces:
IISeriesHostObjectFactory

public class ISeriesHostObjectBasicFactory
extends Object
implements IISeriesHostObjectFactory

This class is simply a factory for creating new instances of the ISeriesHostObjectBasic class. Should somebody wish to use their own object instead they would:

  • create their own class that implements IISeriesHostObjectBasic
  • create their own factory class like this that implements IISeriesHostObjectFactory with the one createObject method that returns an instance of their own class.
  • when using comm layer code like ISeriesCheckObject, you pass in your factory instance which is what is used to create the returned object.

    See Also:
    IISeriesHostObjectFactory, IISeriesHostObjectBasic, ISeriesHostObjectBasic

    Field Summary
    static String Copyright
               
     
    Constructor Summary
    ISeriesHostObjectBasicFactory()
               
     
    Method Summary
     IISeriesHostObjectNameOnly createObject(String type, String attribute)
              Return an instance of a class that implements the interface matching the amount of information you want returned to you: IISeriesHostObjectNameOnly for just name and context information IISeriesHostObjectBrief for simple information IISeriesHostObjectBasic for typical information IISeriesHostObjectExhaustive for all information
     
    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

    ISeriesHostObjectBasicFactory

    public ISeriesHostObjectBasicFactory()
    Method Detail

    createObject

    public IISeriesHostObjectNameOnly createObject(String type,
                                                   String attribute)
    Description copied from interface: IISeriesHostObjectFactory
    Return an instance of a class that implements the interface matching the amount of information you want returned to you:
  • IISeriesHostObjectNameOnly for just name and context information
  • IISeriesHostObjectBrief for simple information
  • IISeriesHostObjectBasic for typical information
  • IISeriesHostObjectExhaustive for all information

    Specified by:
    createObject in interface IISeriesHostObjectFactory
    Parameters:
    type - The type of object requested.
    attribute - The attribute of the object requested. The attribute may be null.

  • 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.