com.ibm.tws.conn.util
Class GetJobOutputContext

java.lang.Object
  extended bycom.ibm.tws.conn.util.GetJobOutputContext
All Implemented Interfaces:
java.io.Serializable

public class GetJobOutputContext
extends java.lang.Object
implements java.io.Serializable

This class contain all the information needed to retrieve the job output in bunches. This class should be simply taken from a GetJobOutputResult and passed again to the next invokation of the getJobOutput method. For this reason there shouldn't be any reason to read/write the information present in this class, unless you whould like to write your own Iterator. This class is used in the GetJobOutputResult.

See Also:
GetJobOutputResult, Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          Copyright
static int EOF
          End Of File Constant
 
Constructor Summary
GetJobOutputContext()
          Empty Constructor
 
Method Summary
 Context getContext()
          Get the context
 Identifier getFileId()
          Get the file identifier.
 boolean getIsLastPage()
          Get true if it is the last page.
 Identifier getJobId()
          Get the JobInPlan identifier
 int getLines()
          Get the lines to retrieve
 int getPageNum()
          Get the page number.
 void setContext(Context context)
          Set the context For Internal Use only
 void setFileId(Identifier fileId)
          Set the file identifier.
 void setIsLastPage(boolean isLastPage)
          Mark the last page.
 void setJobId(Identifier identifier)
          Set the job identifier For Internal Use Only.
 void setLines(int lines)
          Set the lines to retrieve For Internal Use Only
 void setPageNum(int pageNum)
          Set the page number.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
Copyright


EOF

public static final int EOF
End Of File Constant

See Also:
Constant Field Values
Constructor Detail

GetJobOutputContext

public GetJobOutputContext()
Empty Constructor

Method Detail

getLines

public int getLines()
Get the lines to retrieve

Returns:
the lines to retrieve

setLines

public void setLines(int lines)
Set the lines to retrieve For Internal Use Only

Parameters:
lines - the lines to retrieve

getPageNum

public int getPageNum()
Get the page number. For internal use only

Returns:
the page number

setPageNum

public void setPageNum(int pageNum)
Set the page number. For internal use only

Parameters:
pageNum - the page number

getIsLastPage

public boolean getIsLastPage()
Get true if it is the last page.

Returns:
true if this is the last page, false otherwise.

setIsLastPage

public void setIsLastPage(boolean isLastPage)
Mark the last page. For internal use only

Parameters:
isLastPage - true if the last page should be marked, false otherwise

getFileId

public Identifier getFileId()
Get the file identifier.

Returns:
the file identifier

setFileId

public void setFileId(Identifier fileId)
Set the file identifier. For internal use only

Parameters:
fileId - the fileIdentifier to set.

getContext

public Context getContext()
Get the context

Returns:
The context

setContext

public void setContext(Context context)
Set the context For Internal Use only

Parameters:
context - The context

getJobId

public Identifier getJobId()
Get the JobInPlan identifier

Returns:
The job identifier

setJobId

public void setJobId(Identifier identifier)
Set the job identifier For Internal Use Only.

Parameters:
identifier - The job identifier


Copyright © 2005 IBM All Rights Reserved.