com.ibm.tws.objects.plan.utils
Class JobSummaryInfo

java.lang.Object
  extended bycom.ibm.tws.objects.plan.utils.JobSummaryInfo
All Implemented Interfaces:
java.io.Serializable

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

This class is used to hold the summary information for jobs running on a workstation in plan. It is only used in zOS environment.

The fields of this class are read only. Setter methods can only be used internally.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          Copyright.
 
Constructor Summary
JobSummaryInfo()
          Constructor
JobSummaryInfo(int numberOfJobs, long estimatedDuration, long actualDuration)
          Constructor
 
Method Summary
 boolean equals(java.lang.Object object)
           
 long getActualDuration()
          Return Returns the actual Duration.
 long getEstimatedDuration()
          Returns the estimated Duration.
 int getNumberOfJobs()
          Returns the number of Jobs.
 int hashCode()
           
 void setActualDuration(long actualDuration)
          Sets the actual Duration.
 void setEstimatedDuration(long estimatedDuration)
          Sets the estimated Duration.
 void setNumberOfJobs(int numberOfJobs)
          Sets the number Of Jobs.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
Copyright.

Constructor Detail

JobSummaryInfo

public JobSummaryInfo()
Constructor


JobSummaryInfo

public JobSummaryInfo(int numberOfJobs,
                      long estimatedDuration,
                      long actualDuration)
Constructor

Parameters:
numberOfJobs - the number of Jobs
estimatedDuration - the estimated duration
actualDuration - the actual duration
Method Detail

getNumberOfJobs

public int getNumberOfJobs()
Returns the number of Jobs.

Returns:
Returns the numberofJobs.

getEstimatedDuration

public long getEstimatedDuration()
Returns the estimated Duration.

Returns:
Returns the estimatedDuration.

getActualDuration

public long getActualDuration()
Return Returns the actual Duration.

Returns:
Returns the actualDuration.

setNumberOfJobs

public void setNumberOfJobs(int numberOfJobs)
Sets the number Of Jobs. For internal use only.

Parameters:
numberOfJobs - The numberofJobs to set.

setEstimatedDuration

public void setEstimatedDuration(long estimatedDuration)
Sets the estimated Duration. For internal use only.

Parameters:
estimatedDuration - The estimatedDuration to set.

setActualDuration

public void setActualDuration(long actualDuration)
Sets the actual Duration. For internal use only.

Parameters:
actualDuration - The actualDuration to set.

toString

public java.lang.String toString()
See Also:
Object.toString()

hashCode

public int hashCode()
See Also:
Object.hashCode()

equals

public boolean equals(java.lang.Object object)
See Also:
Object.equals(java.lang.Object)


Copyright © 2005 IBM All Rights Reserved.