|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.tws.objects.types.AbstractTimeRestrictions
com.ibm.tws.objects.plan.types.TimeRestrictions
This class includes the information required to describe the time restrictions of a job or of a job stream in the plan. In the plan these information becomes real times and no more temporal offset, then values that in com.ibm.tws.objects.plan.types.TimeRestrictions are longs here are Dates.
The following syntax validation constraints must be met on TimeRestrictions objects in distributed environment:
isTimeDependent | Inherited; Default value is false |
startTime | Default value is null. If specified |
it should be lower than untilTime, | |
even if no check the on server is performed. | |
deadlineTime | Default value is null. If specified |
it should be greater than untilTime, | |
even if no check on the server is performed. | |
untilTime | Default value is null. If specified |
it should be greater than startTime and | |
lower than deadlineTime, | |
even if no check on the server is performed. | |
latestStartAction | Inherited; One of the values exposed by the LateAction class |
The following syntax validation constraints must be met on TimeRestrictions objects in Zos environment:
isTimeDependent | Inherited; Default value is false |
startTime | Default value is null. If specified |
it should be lower than deadlineTime. | |
deadlineTime | Default value is null. If specified |
it should be greater than startTime, | |
untilTime | N/A |
latestStartAction | N/A |
LateAction
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Copyright. |
Constructor Summary | |
---|---|
TimeRestrictions()
Creates an empty TimeRestrictions object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
Returns true if all fields of this TimeRestrictions object are equal to those of the given one. |
java.util.Date |
getDeadlineTime()
Returns the Deadline Time Date. |
java.util.Date |
getStartTime()
Returns the Start Time Date |
java.util.Date |
getUntilTime()
Returns the Until Time Date |
int |
hashCode()
Returns a hash code for this TimeRestrictions object. |
void |
setDeadlineTime(java.util.Date date)
Sets the Deadline Time Date |
void |
setStartTime(java.util.Date date)
Sets the Start Time Date |
void |
setUntilTime(java.util.Date date)
Sets the Until Time Date. |
java.lang.String |
toString()
Returns a string representation of this TimeRestrictions object. |
Methods inherited from class com.ibm.tws.objects.types.AbstractTimeRestrictions |
---|
getLatestStartAction, isTimeDependent, setLatestStartAction, setTimeDependent |
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 TimeRestrictions()
Method Detail |
public boolean equals(java.lang.Object object)
equals
in class AbstractTimeRestrictions
object
- The object to be compared with this one.
public int hashCode()
hashCode
in class AbstractTimeRestrictions
public java.lang.String toString()
toString
in class AbstractTimeRestrictions
public java.util.Date getDeadlineTime()
public java.util.Date getStartTime()
public java.util.Date getUntilTime()
public void setDeadlineTime(java.util.Date date)
date
- the Deadline Time Date to setpublic void setStartTime(java.util.Date date)
date
- the Start Time Date to setpublic void setUntilTime(java.util.Date date)
date
- the Until Time Date to set.
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |