com.ibm.tws.objects.plan.types
Class JobInPlanResourceUsageInfo

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

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

This class includes the information required to describe special resource usage in the current plan of a z/OS environment. This is a read only class.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          Copyright.
 
Constructor Summary
JobInPlanResourceUsageInfo()
          Empty Constructor
 
Method Summary
 boolean equals(java.lang.Object object)
          Returns true if all fields of this JobInPlanResourceUsageInfo object are equal to those of the given one.
 ResourceAllocationType getAllocationType()
          Returns the Allocation Type
 int getUsedQuantity()
          Returns the Used Quantity
 java.lang.String getWaitingReason()
          Returns the Waiting Reason
 int hashCode()
          Returns a hash code for this JobInPlanResourceUsageInfo object.
 void setAllocationType(ResourceAllocationType allocationType)
          Sets the Allocation type.
 void setUsedQuantity(int usedQuantity)
          Sets the Used Quantity.
 void setWaitingReason(java.lang.String waitingReason)
          Sets the waiting Reason For Internal Use Only.
 java.lang.String toString()
          Returns a string representation of this JobInPlanResourceUsageInfo.
 
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

JobInPlanResourceUsageInfo

public JobInPlanResourceUsageInfo()
Empty Constructor

Method Detail

getUsedQuantity

public int getUsedQuantity()
Returns the Used Quantity

Returns:
Returns the usedQuantity.

getWaitingReason

public java.lang.String getWaitingReason()
Returns the Waiting Reason

Returns:
Returns the waitingReason.

getAllocationType

public ResourceAllocationType getAllocationType()
Returns the Allocation Type

Returns:
Returns the allocationType.

setUsedQuantity

public void setUsedQuantity(int usedQuantity)
Sets the Used Quantity. For internal Use Only.

Parameters:
usedQuantity - The usedQuantity to set.

setWaitingReason

public void setWaitingReason(java.lang.String waitingReason)
Sets the waiting Reason For Internal Use Only.

Parameters:
waitingReason - The waitingReason to set.

setAllocationType

public void setAllocationType(ResourceAllocationType allocationType)
Sets the Allocation type. For Internal Use Only.

Parameters:
allocationType - The allocationType to set.

equals

public boolean equals(java.lang.Object object)
Returns true if all fields of this JobInPlanResourceUsageInfo object are equal to those of the given one.

Parameters:
object - The object to be compared with this one.
Returns:
True if this object equals to the given one.

hashCode

public int hashCode()
Returns a hash code for this JobInPlanResourceUsageInfo object.

Returns:
The object's hash code.

toString

public java.lang.String toString()
Returns a string representation of this JobInPlanResourceUsageInfo.

Returns:
A text string including all JobInPlanResourceUsageInfo fields.


Copyright © 2005 IBM All Rights Reserved.