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

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

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

This class includes some adidtional information for a Resource in Plan object. For the moment, it is only used for a Resource on the TWS z/OS environment, but it could also be used in future for a resource in a TWS distributed environment.

adjustedQuantity Read only value.
amountExclusiveUsed Read only value.
amountSharedUsed Read only value.
anyAllExclusiveUser Read only value.
anyAllSharedUser Read only value.
anyWaiting Read only value.
currentIntervalNumber Read only value.
defaultAvailability See YesNoDefaultOption for possible values. Default value is YesNoDefaultOption.DEFAULT.
defaultQuantity Default value is 0. Possible value are 0-999999
deviation Default value is 0. Possible value are from -999999 to 999999
overriddenAvailability See YesNoDefaultOption for possible values. Default value is YesNoDefaultOption.DEFAULT.
overriddenQuantity Default value is 0. Possible value are 0-999999
actionOnComplete See ResourceActionOnComplete for possible values. Default value is ResourceActionOnComplete.RESET.
maxUsageLimitType See YesNoResetOption for possible values. Default value is YesNoResetOption.DEFAULT.
maxUsageLimitValue Default value is 0. Possible value are 0-999999.
usageCounter Read only value. Default value is 0.
lifespanExpireTime Read only value. Date and Time.
lifespanAction Read only value. See YesNoResetOption for possible values. Default value is YesNoResetOption.RESET.
lastModifyType Read only value. See LastModifyType for possible values. Default value is LastModifyType.DEFAULT.
rodmAvailable Read only value.
rodmDeviation Read only value.
rodmQuantity Read only value.

See Also:
YesNoDefaultOption, WorkstationLink, Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          Copyright.
 
Constructor Summary
ResourceInPlanZOSAttributes()
          Creates an empty ResourceInPlanZOSAttributes object
 
Method Summary
 boolean equals(java.lang.Object object)
          Returns true if all fields of this ResourceInPlanZOSAttributes object are equal to those of the given one.
 ResourceActionOnComplete getActionOnComplete()
           
 int getAdjustedQuantity()
          Returns the Adjusted Quantity
 int getAmountExclusiveUsed()
          Returns the Amount Exclusive Used
 int getAmountSharedUsed()
          Returns the Amount Shared Used
 int getCurrentIntervalNumber()
          Returns the Current Interval Number
 YesNoDefaultOption getDefaultAvailability()
          Returns the Default Availability
 int getDefaultQuantity()
          Returns the Default Quantity
 int getDeviation()
          Returns the Deviation
 LastModifyType getLastModifyType()
           
 YesNoResetOption getLifespanAction()
           
 java.util.Date getLifespanExpireTime()
           
 YesNoResetOption getMaxUsageLimitType()
           
 int getMaxUsageLimitValue()
           
 YesNoDefaultOption getOverriddenAvailability()
          Returns the Overridden Availability
 int getOverriddenQuantity()
          Returns the Overriden Quantity
 ZOSRODMStatus getRodmAvailable()
          Returns the rodm available
 ZOSRODMStatus getRodmDeviation()
          Returns the rodm deviation
 ZOSRODMStatus getRodmQuantity()
          Returns the rodm quantity
 int getUsageCounter()
           
 int hashCode()
          Returns a hash code for this ResourceInPlanZOSAttributes object.
 boolean isAnyAllExclusiveUser()
          Returns true if any all exclusive user
 boolean isAnyAllSharedUser()
          Returns true if any all shared user
 boolean isAnyWaiting()
          returns true if any is waiting
 void setActionOnComplete(ResourceActionOnComplete value)
           
 void setAdjustedQuantity(int adjustedQuantity)
          Returns the adjusted quantity
 void setAmountExclusiveUsed(int amountExclusiveUsed)
          Sets the amount exclusive used
 void setAmountSharedUsed(int amountSharedUsed)
          Sets the amount shared used
 void setAnyAllExclusiveUser(boolean anyAllExclusiveUser)
          Sets the any all exclusive user flag
 void setAnyAllSharedUser(boolean anyAllSharedUser)
          Sets the any all shared user flag
 void setAnyWaiting(boolean anyWaiting)
          Sets the any waiting flag
 void setCurrentIntervalNumber(int currentIntervalNumber)
          Sets the current interval number
 void setDefaultAvailability(YesNoDefaultOption defaultAvailability)
          Sets the default availability
 void setDefaultQuantity(int defaultQuantity)
          Returns the default quantity
 void setDeviation(int deviation)
          Sets the deviation
 void setLastModifyType(LastModifyType value)
           
 void setLifespanAction(YesNoResetOption value)
           
 void setLifespanExpireTime(java.util.Date value)
           
 void setMaxUsageLimitType(YesNoResetOption value)
           
 void setMaxUsageLimitValue(int value)
           
 void setOverriddenAvailability(YesNoDefaultOption overriddenAvailability)
          Set the overridden availiability
 void setOverriddenQuantity(int overriddenQuantity)
          Set the overridden quantity
 void setRodmAvailable(ZOSRODMStatus available)
          sets the rodm available
 void setRodmDeviation(ZOSRODMStatus deviation)
          Sets the rodm deviation
 void setRodmQuantity(ZOSRODMStatus quantity)
          Sets the rodm available
 void setUsageCounter(int value)
           
 java.lang.String toString()
          Returns a string representation of this ResourceInPlanZOSAttributes object.
 
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

ResourceInPlanZOSAttributes

public ResourceInPlanZOSAttributes()
Creates an empty ResourceInPlanZOSAttributes object

Method Detail

getDefaultAvailability

public YesNoDefaultOption getDefaultAvailability()
Returns the Default Availability

Returns:
Returns the overriddenAvailability.

getDefaultQuantity

public int getDefaultQuantity()
Returns the Default Quantity

Returns:
Returns the defaultQuantity.

getAdjustedQuantity

public int getAdjustedQuantity()
Returns the Adjusted Quantity

Returns:
Returns the adjustedQuantity.

getOverriddenAvailability

public YesNoDefaultOption getOverriddenAvailability()
Returns the Overridden Availability

Returns:
Returns the overriddenAvailability.

getOverriddenQuantity

public int getOverriddenQuantity()
Returns the Overriden Quantity

Returns:
Returns the overriddenQuantity.

getDeviation

public int getDeviation()
Returns the Deviation

Returns:
Returns the deviation.

getCurrentIntervalNumber

public int getCurrentIntervalNumber()
Returns the Current Interval Number

Returns:
Returns the currentIntervalNumber.

getAmountExclusiveUsed

public int getAmountExclusiveUsed()
Returns the Amount Exclusive Used

Returns:
Returns the amountExclusiveUsed.

getAmountSharedUsed

public int getAmountSharedUsed()
Returns the Amount Shared Used

Returns:
Returns the amountSharedUsed.

isAnyAllExclusiveUser

public boolean isAnyAllExclusiveUser()
Returns true if any all exclusive user

Returns:
Returns the anyAllExclusiveUser.

isAnyAllSharedUser

public boolean isAnyAllSharedUser()
Returns true if any all shared user

Returns:
Returns the anyAllSharedUser.

isAnyWaiting

public boolean isAnyWaiting()
returns true if any is waiting

Returns:
Returns the anyWaiting.

getActionOnComplete

public ResourceActionOnComplete getActionOnComplete()
Returns:
Returns the actionOnComplete.

getMaxUsageLimitType

public YesNoResetOption getMaxUsageLimitType()
Returns:
Returns the maxUsageLimitType.

getMaxUsageLimitValue

public int getMaxUsageLimitValue()
Returns:
Returns the maxUsageLimitValue.

getUsageCounter

public int getUsageCounter()
Returns:
Returns the usageCounter.

getLifespanExpireTime

public java.util.Date getLifespanExpireTime()
Returns:
Returns the lifespanExpireTime.

getLifespanAction

public YesNoResetOption getLifespanAction()
Returns:
Returns the lifespanAction.

getLastModifyType

public LastModifyType getLastModifyType()
Returns:
Returns the lastModifyType.

getRodmAvailable

public ZOSRODMStatus getRodmAvailable()
Returns the rodm available

Returns:
Returns the rodmAvailable.

getRodmQuantity

public ZOSRODMStatus getRodmQuantity()
Returns the rodm quantity

Returns:
Returns the rodmQuantity.

getRodmDeviation

public ZOSRODMStatus getRodmDeviation()
Returns the rodm deviation

Returns:
Returns the rodmDeviation.

setDefaultQuantity

public void setDefaultQuantity(int defaultQuantity)
Returns the default quantity

Parameters:
defaultQuantity - The defaultQuantity value to be set.

setAdjustedQuantity

public void setAdjustedQuantity(int adjustedQuantity)
Returns the adjusted quantity

Parameters:
adjustedQuantity - The adjustedQuantity to set.

setDefaultAvailability

public void setDefaultAvailability(YesNoDefaultOption defaultAvailability)
Sets the default availability

Parameters:
defaultAvailability - The defaultAvailability to set.

setOverriddenQuantity

public void setOverriddenQuantity(int overriddenQuantity)
Set the overridden quantity

Parameters:
overriddenQuantity - The overriddenQuantity to set.

setOverriddenAvailability

public void setOverriddenAvailability(YesNoDefaultOption overriddenAvailability)
Set the overridden availiability

Parameters:
overriddenAvailability - The overriddenAvailability to set.

setDeviation

public void setDeviation(int deviation)
Sets the deviation

Parameters:
deviation - The deviation to set.

setCurrentIntervalNumber

public void setCurrentIntervalNumber(int currentIntervalNumber)
Sets the current interval number

Parameters:
currentIntervalNumber - The currentIntervalNumber to set.

setAmountExclusiveUsed

public void setAmountExclusiveUsed(int amountExclusiveUsed)
Sets the amount exclusive used

Parameters:
amountExclusiveUsed - The amountExclusiveUsed to set.

setAmountSharedUsed

public void setAmountSharedUsed(int amountSharedUsed)
Sets the amount shared used

Parameters:
amountSharedUsed - The amountSharedUsed to set.

setAnyAllExclusiveUser

public void setAnyAllExclusiveUser(boolean anyAllExclusiveUser)
Sets the any all exclusive user flag

Parameters:
anyAllExclusiveUser - The anyAllExclusiveUser to set.

setAnyAllSharedUser

public void setAnyAllSharedUser(boolean anyAllSharedUser)
Sets the any all shared user flag

Parameters:
anyAllSharedUser - The anyAllSharedUser to set.

setAnyWaiting

public void setAnyWaiting(boolean anyWaiting)
Sets the any waiting flag

Parameters:
anyWaiting - The anyWaiting to set.

setActionOnComplete

public void setActionOnComplete(ResourceActionOnComplete value)

setMaxUsageLimitType

public void setMaxUsageLimitType(YesNoResetOption value)

setMaxUsageLimitValue

public void setMaxUsageLimitValue(int value)

setUsageCounter

public void setUsageCounter(int value)

setLifespanExpireTime

public void setLifespanExpireTime(java.util.Date value)

setLifespanAction

public void setLifespanAction(YesNoResetOption value)

setLastModifyType

public void setLastModifyType(LastModifyType value)

setRodmAvailable

public void setRodmAvailable(ZOSRODMStatus available)
sets the rodm available

Parameters:
available - The rodmAvailable to set.

setRodmQuantity

public void setRodmQuantity(ZOSRODMStatus quantity)
Sets the rodm available

Parameters:
quantity - The rodmQuantity to set.

setRodmDeviation

public void setRodmDeviation(ZOSRODMStatus deviation)
Sets the rodm deviation

Parameters:
deviation - The rodmDeviation to set.

equals

public boolean equals(java.lang.Object object)
Returns true if all fields of this ResourceInPlanZOSAttributes 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 ResourceInPlanZOSAttributes object.

Returns:
The object's hash code.

toString

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

Returns:
A text string including all ResourceInPlanZOSAttributes fields.


Copyright © 2005 IBM All Rights Reserved.