Rational Developer for Power Systems Software
V7.6

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

java.lang.Object
  extended by com.ibm.etools.iseries.comm.interfaces.ISeriesHostListMemberNameOnlyFactory
All Implemented Interfaces:
IISeriesHostListBaseFactory, IISeriesHostListObjectFactory, IISeriesHostObjectFactory

public class ISeriesHostListMemberNameOnlyFactory
extends Object
implements IISeriesHostListObjectFactory

This class is simply a factory for creating new instances of the ISeriesHostMemberNameOnly class for the ISeriesListMembers API.

Should somebody wish to use their own object instead they would:

  • create their own class that implements IISeriesHostMemberNameOnly
  • create their own factory class like this that implements IISeriesHostListObjectFactory with the methods prescribed by it.
  • when using comm layer code like ISeriesListMembers, you pass in your factory instance which is what is used to create the returned object.

    See Also:
    IISeriesHostListObjectFactory, IISeriesHostMemberNameOnly, ISeriesHostMemberNameOnly

    Field Summary
    static String Copyright
               
     
    Constructor Summary
    ISeriesHostListMemberNameOnlyFactory()
               
     
    Method Summary
     IISeriesHostMemberNameOnly createDataMember()
              Factory method called when the list processor has determined the object being processed is a data member.
     IISeriesHostObjectNameOnly createIFSFolderObject()
              Factory method called when the IFS list processor has determined the object being processed is a folder versus a file.
     IISeriesHostObjectNameOnly createLibraryObject()
              Factory method called when the list processor has determined the object being processed is a library object.
     IISeriesHostObjectNameOnly createObject(String type, String attribute)
              Factory method called when the list processor has determined the object being processed is not a library object or database file object.
     IISeriesHostMemberNameOnly createSourceMember()
              Factory method called when the list processor has determined the object being processed is a source member.
     boolean wantToIncludeSize()
              The decision to include size in the returned information is not applicable to NAME ONLY list requests.
     
    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

    ISeriesHostListMemberNameOnlyFactory

    public ISeriesHostListMemberNameOnlyFactory()
    Method Detail

    wantToIncludeSize

    public boolean wantToIncludeSize()
    The decision to include size in the returned information is not applicable to NAME ONLY list requests. Hence, this method always returns false.

    Specified by:
    wantToIncludeSize in interface IISeriesHostListObjectFactory

    createLibraryObject

    public IISeriesHostObjectNameOnly createLibraryObject()
    Factory method called when the list processor has determined the object being processed is a library object.

    Not applicable to member lists, except internally if it is a multi-generic list request.

    Specified by:
    createLibraryObject in interface IISeriesHostListObjectFactory

    createObject

    public IISeriesHostObjectNameOnly createObject(String type,
                                                   String attribute)
    Factory method called when the list processor has determined the object being processed is not a library object or database file object.

    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.

    createSourceMember

    public IISeriesHostMemberNameOnly createSourceMember()
    Factory method called when the list processor has determined the object being processed is a source member.

    Specified by:
    createSourceMember in interface IISeriesHostListObjectFactory

    createDataMember

    public IISeriesHostMemberNameOnly createDataMember()
    Factory method called when the list processor has determined the object being processed is a data member.

    Specified by:
    createDataMember in interface IISeriesHostListObjectFactory

    createIFSFolderObject

    public IISeriesHostObjectNameOnly createIFSFolderObject()
    Factory method called when the IFS list processor has determined the object being processed is a folder versus a file. Only used by the ISeriesListIFS api.

    Not applicable to member lists.

    Specified by:
    createIFSFolderObject in interface IISeriesHostListObjectFactory

    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.