BEA Systems, Inc.

BEA WebLogic Server 9.0 API Reference


weblogic.wtc.jatmi
Class QueueTimeField

java.lang.Object
  extended byweblogic.wtc.jatmi.QueueTimeField
All Implemented Interfaces:
Serializable

public final class QueueTimeField
extends Object
implements Serializable

This class contains a time value and whether or not this time value is absolute or relative time.

See Also:
Serialized Form
Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

Constructor Summary
QueueTimeField(int aTime, boolean isRelative)
          This will construct this object with the given time (in seconds).
 
Method Summary
 int getTime()
          Returns the time associated with this object in seconds
 boolean isRelative()
          Returns whether or not the time associated with this object is relative to the current time or is absolute
 String toString()
          Returs a string representation of this object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

QueueTimeField

public QueueTimeField(int aTime,
                      boolean isRelative)
This will construct this object with the given time (in seconds). The time value will be interpreted as absolute time or relative time depending on the isRelative parameter

Method Detail

getTime

public int getTime()
Returns the time associated with this object in seconds

Returns:
The time associated with this object in seconds

isRelative

public boolean isRelative()
Returns whether or not the time associated with this object is relative to the current time or is absolute

Returns:
true if the time is relative, false if the time is absolute

toString

public String toString()
Returs a string representation of this object

Returns:
A string of the form "time:isRelative"

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs90
Copyright 2005 BEA Systems Inc.