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

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

public class ResourceInPlanConstraints
extends ResourceBaseConstraints

This class includes the information required to describe the additional constraints of a resource in plan, associated to a given interval. For the moment this class is only used for TWS z/OS resources, but its usage could be extended in the future also to TWS Distributed resources

*
zosSpecificAttributes See ResourceInPlanZOSAttributes for details on this field
alternateWorkstationInPlanKeys A list of WorkstationInPlanKey
See WorkstationInPlanKey for constraints on this field

See Also:
WorkstationInPlanKey, ResourceInPlanZOSAttributes, Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          Copyright.
 
Constructor Summary
ResourceInPlanConstraints()
          Creates an empty ResourceInPlanConstraints object
 
Method Summary
 boolean equals(java.lang.Object object)
          Returns true if all fields of this ResourceInPlanConstraints object are equal to those of the given one.
 java.util.List getAlternateWorkstationInPlanKeys()
          Returns a list of Workstation Keys objects.
 ResourceInPlanZOSAttributes getZosSpecificAttributes()
          Returns the Z/OS Specific Attributes
 int hashCode()
          Returns a hash code for this ResourceInPlanConstraints object.
 void setZosSpecificAttributes(ResourceInPlanZOSAttributes zosSpecificAttributes)
          Sets the Z/OS Specific Attributes
 java.lang.String toString()
          Returns a string representation of this ResourceInPlanConstraints object.
 
Methods inherited from class com.ibm.tws.objects.types.ResourceBaseConstraints
getActionOnComplete, getActionOnError, getGroupId, getMaxUsageLimitType, getMaxUsageLimitValue, getQuantity, getUsedFor, isAvailable, isZOSHiperbatch, setActionOnComplete, setActionOnError, setAvailable, setGroupId, setMaxUsageLimitType, setMaxUsageLimitValue, setQuantity, setUsedFor, setZOSHiperbatch
 
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

ResourceInPlanConstraints

public ResourceInPlanConstraints()
Creates an empty ResourceInPlanConstraints object

Method Detail

getZosSpecificAttributes

public ResourceInPlanZOSAttributes getZosSpecificAttributes()
Returns the Z/OS Specific Attributes

Returns:
Returns the zosSpecificAttributes.

getAlternateWorkstationInPlanKeys

public java.util.List getAlternateWorkstationInPlanKeys()
Returns a list of Workstation Keys objects.

Returns:
Returns a list of WorkstationInPlanKey objects.

setZosSpecificAttributes

public void setZosSpecificAttributes(ResourceInPlanZOSAttributes zosSpecificAttributes)
Sets the Z/OS Specific Attributes

Parameters:
zosSpecificAttributes - The zosSpecificAttributes to set.

equals

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

Overrides:
equals in class ResourceBaseConstraints
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 ResourceInPlanConstraints object.

Overrides:
hashCode in class ResourceBaseConstraints
Returns:
The object's hash code.

toString

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

Overrides:
toString in class ResourceBaseConstraints
Returns:
A text string including all ResourceInPlanConstraints fields.


Copyright © 2005 IBM All Rights Reserved.