|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.tws.objects.types.AvailabilityInterval
com.ibm.tws.objects.model.types.WorkstationAvailabilityInterval
This class includes the information required to describe an availability interval of a z/OS workstation.
The following syntax validation constraints must be met on WorkstationAvailabilityInterval objects in z/OS environment:
zosNumberOfParallelServers | Always required |
Valid range is from 0 to 99 | |
Default value is 0 | |
zosR1Capacity | Always required |
Valid range is from 0 to 99 | |
Default value is 0 | |
zosR1Capacity | Always required |
Valid range is from 0 to 99 | |
Default value is 0 | |
alternateWorkstationKey | Must reference an existing workstation |
isClosed | Default value is false |
Workstation
,
AvailabilityInterval
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Copyright. |
Constructor Summary | |
---|---|
WorkstationAvailabilityInterval()
Creates an empty WorkstationAvailabilityInterval object. |
|
WorkstationAvailabilityInterval(boolean isStandard,
long startTime,
long endTime)
Creates a WorkstationAvailabilityInterval object using the "STANDARD" value as a validity interval, and specifying a start and end time. |
|
WorkstationAvailabilityInterval(java.util.Date date,
long startTime,
long endTime)
Creates a WorkstationAvailabilityInterval object using a specific date as a validity interval, and specifying a start and end time. |
|
WorkstationAvailabilityInterval(int dayOfWeek,
long startTime,
long endTime)
Creates a WorkstationAvailabilityInterval object using a day of week as a validity interval, and specifying a start and end time. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
Returns true if all fields of this WorkstationAvailabilityInterval object are equal to those of the given one. |
FlowTargetKey |
getAlternateWorkstationKey()
Returns the key of the alternate workstation associated to this availability interval. |
int |
getZosNumberOfParallelServers()
Returns the zosNumberOfParallelServers attribute. |
int |
getZosR1Capacity()
Returns the zosR1Capacity attribute. |
int |
getZosR2Capacity()
Returns the zosR2Capacity attribute. |
int |
hashCode()
Returns a hash code for this WorkstationAvailabilityInterval object. |
boolean |
isClosed()
Returns true if the interval is closed. |
void |
setAlternateWorkstationKey(FlowTargetKey value)
Sets the key of the alternate workstation associated to this availability interval. |
void |
setClosed(boolean value)
Sets the property used to decide if this interval is closed. |
void |
setZosNumberOfParallelServers(int value)
Sets the zosNumberOfParallelServers attribute. |
void |
setZosR1Capacity(int value)
Sets the zosR1Capacity attribute. |
void |
setZosR2Capacity(int value)
Sets the zosR2Capacity attribute. |
java.lang.String |
toString()
Returns a string representation of this WorkstationAvailabilityInterval object. |
Methods inherited from class com.ibm.tws.objects.types.AvailabilityInterval |
---|
getDescription, getIntervalEndTime, getIntervalStartTime, getIntervalValidityDate, getIntervalValidityDayOfWeek, isDateIntervalType, isDayOfWeekIntervalType, isStandardIntervalType, setDescription, setIntervalEndTime, setIntervalStartTime, setIntervalValidityDate, setIntervalValidityDayOfWeek, setIntervalValidityToStandard |
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 WorkstationAvailabilityInterval()
public WorkstationAvailabilityInterval(boolean isStandard, long startTime, long endTime)
isStandard
- True to build a standard interval.startTime
- The start time for this interval.endTime
- The end time for this interval.public WorkstationAvailabilityInterval(int dayOfWeek, long startTime, long endTime)
dayOfWeek
- The day of week (Sunday to Saturday) when this interval is valid.
Use constants from java.util.Calendar (Calendar.MONDAY, ... Calendar.SUNDAY).startTime
- The start time for this interval.endTime
- The end time for this interval.public WorkstationAvailabilityInterval(java.util.Date date, long startTime, long endTime)
date
- The date when this interval is valid.startTime
- The start time for this interval.endTime
- The end time for this interval.Method Detail |
public int getZosNumberOfParallelServers()
public int getZosR1Capacity()
public int getZosR2Capacity()
public FlowTargetKey getAlternateWorkstationKey()
public boolean isClosed()
public void setZosNumberOfParallelServers(int value)
value
- The zosNumberOfParallelServers attribute.public void setZosR1Capacity(int value)
value
- The zosR1Capacity attribute.public void setZosR2Capacity(int value)
value
- The zosR2Capacity attribute.public void setAlternateWorkstationKey(FlowTargetKey value)
value
- The key of the alternate workstation associated to this availability interval.public void setClosed(boolean value)
value
- True if this interval is closed.public boolean equals(java.lang.Object object)
equals
in class AvailabilityInterval
object
- The object to be compared with this one.
public int hashCode()
hashCode
in class AvailabilityInterval
public java.lang.String toString()
toString
in class AvailabilityInterval
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |