Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.services.qsys.objects
Class QSYSHostFactory

java.lang.Object
  extended by com.ibm.etools.iseries.services.qsys.objects.QSYSHostFactory
All Implemented Interfaces:
IISeriesHostListBaseFactory, IISeriesHostListObjectFactory, IISeriesHostObjectFactory, IQSYSFactory
Direct Known Subclasses:
QSYSRemoteFactory

public class QSYSHostFactory
extends Object
implements IQSYSFactory

Factory for creating service level QSYS model objects. This is the default factory used by the QSYSService. This factory should not be used for creating model objects by the QSYSSubSystem.


Field Summary
static int CMD
           
static String copyright
           
static int FILE
           
static int LIB
           
static int MODULE
           
static int MSGF
           
static int PGM
           
static int SRVPGM
           
 
Fields inherited from interface com.ibm.etools.iseries.comm.interfaces.IISeriesHostListObjectFactory
Copyright
 
Constructor Summary
QSYSHostFactory()
           
 
Method Summary
 IQSYSDataMember createDataMember()
          Create a data member
 IISeriesHostObjectNameOnly createIFSFolderObject()
          Return an instance of a class that implements the interface matching the amount of information you want returned to you for a folder object.
 IQSYSLibrary createLibraryObject()
          Create a new IQSYSLibraryObject
 IQSYSMessageDescription createMessageDescription()
          Create a message description object
 IQSYSObject createObject(String type, String attribute)
          Create a new IQSYSObject
 IQSYSSourceMember createSourceMember()
          Create a source member
protected  IQSYSObject internalCreateCommand()
          Create a new command object
protected  IQSYSObject internalCreateDataFile()
          Create a new data file
protected  IQSYSObject internalCreateDDMFile()
          Create a new DDM file object
protected  IQSYSObject internalCreateDisplayFile()
          Create a new display file object
protected  IQSYSObject internalCreateLogicalFile()
          Create a new logical file object
protected  IQSYSObject internalCreateMessageFile()
          Create a new message file object
protected  IQSYSObject internalCreateModule()
          Create a new module object
protected  IQSYSObject internalCreateObject()
          Create a new standard object
protected  IQSYSObject internalCreatePrinterFile()
          Create a new display file object
protected  IQSYSObject internalCreateProgram()
          Create a new program object
protected  IQSYSObject internalCreateSaveFile()
          Create a new save file object
protected  IQSYSObject internalCreateServiceProgram()
          Create a new service program object
protected  IQSYSObject internalCreateSourceFile()
          Create a new source file
 boolean wantToIncludeSize()
          Tell the object list processor if the size is wanted.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static String copyright

PGM

public static final int PGM

SRVPGM

public static final int SRVPGM

FILE

public static final int FILE

LIB

public static final int LIB

CMD

public static final int CMD

MSGF

public static final int MSGF

MODULE

public static final int MODULE
Constructor Detail

QSYSHostFactory

public QSYSHostFactory()
Method Detail

createIFSFolderObject

public IISeriesHostObjectNameOnly createIFSFolderObject()
Description copied from interface: IISeriesHostListObjectFactory
Return an instance of a class that implements the interface matching the amount of information you want returned to you for a folder object.
  • IISeriesHostObjectNameOnly for just name and context information
  • IISeriesHostObjectBrief for simple information
  • IISeriesHostObjectBasic for typical information
  • IISeriesHostObjectExhaustive for all information The inherited IISeriesHostObjectFactory.createObject(java.lang.String, java.lang.String) method is called for files.

    Specified by:
    createIFSFolderObject in interface IISeriesHostListObjectFactory

  • createLibraryObject

    public IQSYSLibrary createLibraryObject()
    Description copied from interface: IQSYSFactory
    Create a new IQSYSLibraryObject

    Specified by:
    createLibraryObject in interface IISeriesHostListObjectFactory
    Specified by:
    createLibraryObject in interface IQSYSFactory

    wantToIncludeSize

    public boolean wantToIncludeSize()
    Description copied from interface: IISeriesHostListObjectFactory
    Tell the object list processor if the size is wanted. The size per object is: - not available for *LIBL library list, member list and IFS list requests. - available but expensize for object lists.

    Specified by:
    wantToIncludeSize in interface IISeriesHostListObjectFactory

    createObject

    public IQSYSObject createObject(String type,
                                    String attribute)
    Description copied from interface: IQSYSFactory
    Create a new IQSYSObject

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

    internalCreateMessageFile

    protected IQSYSObject internalCreateMessageFile()
    Create a new message file object


    internalCreateSaveFile

    protected IQSYSObject internalCreateSaveFile()
    Create a new save file object


    internalCreateDDMFile

    protected IQSYSObject internalCreateDDMFile()
    Create a new DDM file object


    internalCreateDisplayFile

    protected IQSYSObject internalCreateDisplayFile()
    Create a new display file object


    internalCreatePrinterFile

    protected IQSYSObject internalCreatePrinterFile()
    Create a new display file object


    internalCreateLogicalFile

    protected IQSYSObject internalCreateLogicalFile()
    Create a new logical file object


    internalCreateDataFile

    protected IQSYSObject internalCreateDataFile()
    Create a new data file


    internalCreateSourceFile

    protected IQSYSObject internalCreateSourceFile()
    Create a new source file


    internalCreateObject

    protected IQSYSObject internalCreateObject()
    Create a new standard object


    internalCreateCommand

    protected IQSYSObject internalCreateCommand()
    Create a new command object


    internalCreateServiceProgram

    protected IQSYSObject internalCreateServiceProgram()
    Create a new service program object


    internalCreateProgram

    protected IQSYSObject internalCreateProgram()
    Create a new program object


    internalCreateModule

    protected IQSYSObject internalCreateModule()
    Create a new module object


    createSourceMember

    public IQSYSSourceMember createSourceMember()
    Description copied from interface: IQSYSFactory
    Create a source member

    Specified by:
    createSourceMember in interface IISeriesHostListObjectFactory
    Specified by:
    createSourceMember in interface IQSYSFactory

    createDataMember

    public IQSYSDataMember createDataMember()
    Description copied from interface: IQSYSFactory
    Create a data member

    Specified by:
    createDataMember in interface IISeriesHostListObjectFactory
    Specified by:
    createDataMember in interface IQSYSFactory

    createMessageDescription

    public IQSYSMessageDescription createMessageDescription()
    Description copied from interface: IQSYSFactory
    Create a message description object

    Specified by:
    createMessageDescription in interface IQSYSFactory

    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.