|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.tws.objects.types.ResourceBaseConstraints
This class includes the information required to describe the usage constraints of a resource.
The following syntax validation constraints must be met on ResourceBaseConstraints objects:
quantity | Allowed range is from 0 to 1024 |
Default value is 1 | |
actionOnComplete | One of the values exposed by the ResourceActionOnComplete class |
Default value is ResourceActionOnComplete.DEFAULT | |
maxUsageLimitType | One of the values exposed by the YesNoResetOption class |
Default value is YesNoResetOption.RESET | |
maxUsageLimitValue | Default value is 0. Possible value are 0-999999. |
ResourceActionOnComplete
,
YesNoResetOption
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Copyright. |
Constructor Summary | |
---|---|
ResourceBaseConstraints()
Creates an empty ResourceBaseConstraints object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
Returns true if all fields of this ResourceBaseConstraints object are equal to those of the given one. |
ResourceActionOnComplete |
getActionOnComplete()
Returns the action on complete. |
ResourceActionOnError |
getActionOnError()
Returns the action on error. |
java.lang.String |
getGroupId()
Returns the group identifier. |
YesNoResetOption |
getMaxUsageLimitType()
Returns the max usage limit type. |
int |
getMaxUsageLimitValue()
Returns the max usage limit value. |
int |
getQuantity()
Returns the resource quantity. |
ResourceUsage |
getUsedFor()
Returns the resource usage. |
int |
hashCode()
Returns a hash code for this ResourceBaseConstraints object. |
YesNoDefaultOption |
isAvailable()
Returns true if the resource is available. |
boolean |
isZOSHiperbatch()
Returns the zOSHiperbatch flag. |
void |
setActionOnComplete(ResourceActionOnComplete value)
Sets the action on complete. |
void |
setActionOnError(ResourceActionOnError value)
Sets the action on error. |
void |
setAvailable(YesNoDefaultOption value)
Sets the property used to state if the resource is available. |
void |
setGroupId(java.lang.String value)
Sets the group identifier. |
void |
setMaxUsageLimitType(YesNoResetOption value)
Sets the max usage limit type. |
void |
setMaxUsageLimitValue(int value)
Sets the max usage limit value. |
void |
setQuantity(int value)
Sets the resource quantity. |
void |
setUsedFor(ResourceUsage value)
Sets the resource usage. |
void |
setZOSHiperbatch(boolean value)
Sets the zOSHiperbatch flag. |
java.lang.String |
toString()
Returns a string representation of this ResourceBaseConstraints object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
public ResourceBaseConstraints()
Method Detail |
public int getQuantity()
public YesNoDefaultOption isAvailable()
public java.lang.String getGroupId()
public ResourceUsage getUsedFor()
public ResourceActionOnError getActionOnError()
public ResourceActionOnComplete getActionOnComplete()
public YesNoResetOption getMaxUsageLimitType()
public int getMaxUsageLimitValue()
public boolean isZOSHiperbatch()
public void setQuantity(int value)
value
- The resource quantity.public void setAvailable(YesNoDefaultOption value)
value
- True if the resource is available.public void setGroupId(java.lang.String value)
value
- The group identifier.public void setUsedFor(ResourceUsage value)
value
- The resource usage.public void setActionOnError(ResourceActionOnError value)
value
- The action on error.public void setActionOnComplete(ResourceActionOnComplete value)
value
- The action on complete.public void setMaxUsageLimitType(YesNoResetOption value)
value
- The max usage limit type.public void setMaxUsageLimitValue(int value)
value
- The max usage limit value.public void setZOSHiperbatch(boolean value)
value
- The zOSHiperbatch flag.public boolean equals(java.lang.Object object)
object
- The object to be compared with this one.
public int hashCode()
public java.lang.String toString()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |