com.ibm.tws.objects.types
Class AbstractTimeRestrictions

java.lang.Object
  extended bycom.ibm.tws.objects.types.AbstractTimeRestrictions
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
TimeRestrictions, TimeRestrictions

public abstract class AbstractTimeRestrictions
extends java.lang.Object
implements java.io.Serializable

This is only a base abstraction for classes that include the time restrictions of a job stream, job or run cycle. Separate classes are used to model time restrictions in the database of model definitions and in the production plan.

See Also:
Serialized Form

Field Summary
static java.lang.String COPYRIGHT
          Copyright.
 
Constructor Summary
AbstractTimeRestrictions()
          Creates an empty AbstractTimeRestrictions object.
 
Method Summary
 boolean equals(java.lang.Object object)
          Returns true if all fields of this AbstractTimeRestrictions object are equal to those of the given one.
 LateAction getLatestStartAction()
          Returns the latest start action.
 int hashCode()
          Returns a hash code for this AbstractTimeRestrictions object.
 boolean isTimeDependent()
          Returns true if the object that includes these time restrictions is time dependent.
 void setLatestStartAction(LateAction action)
          Sets the latest start action.
 void setTimeDependent(boolean value)
          Sets the property used to state if the object that includes these time restrictions is time dependent.
 java.lang.String toString()
          Returns a string representation of this AbstractTimeRestrictions 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

AbstractTimeRestrictions

public AbstractTimeRestrictions()
Creates an empty AbstractTimeRestrictions object.

Method Detail

isTimeDependent

public boolean isTimeDependent()
Returns true if the object that includes these time restrictions is time dependent.

Returns:
True if the object that includes these time restrictions is time dependent.

getLatestStartAction

public LateAction getLatestStartAction()
Returns the latest start action.

Returns:
The latest start action.

setTimeDependent

public void setTimeDependent(boolean value)
Sets the property used to state if the object that includes these time restrictions is time dependent.

Parameters:
value - True if the object that includes these time restrictions is time dependent.

setLatestStartAction

public void setLatestStartAction(LateAction action)
Sets the latest start action.

Parameters:
action - The latest start action.

equals

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

Returns:
The object's hash code.

toString

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

Returns:
A text string including all AbstractTimeRestrictions fields.


Copyright © 2005 IBM All Rights Reserved.