ostore.client
Class OSVPTimed

java.lang.Object
  |
  +--ostore.client.OSVersionPredicate
        |
        +--ostore.client.OSVPTimed
All Implemented Interfaces:
QuickSerializable

public class OSVPTimed
extends OSVersionPredicate

The OSVPTimed object is a version predicate for use in OSReads that is satisfied by the versions that were current in the given time range.

Version:
$Id: OSVPTimed.java,v 1.8 2002/07/20 19:38:01 srhea Exp $
Author:
Patrick R. Eaton

Constructor Summary
OSVPTimed(Date max_old)
          Creates a new OSVPTimed version predicate.
OSVPTimed(Date max_old, Date max_young)
           
OSVPTimed(InputBuffer buffer)
           
 
Method Summary
 VersionPredicate compile()
           
 void serialize(OutputBuffer buffer)
          Add the object to the buffer.
 String toString()
          Returns a String representation of this OSVersionPredicate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OSVPTimed

public OSVPTimed(Date max_old)
Creates a new OSVPTimed version predicate.


OSVPTimed

public OSVPTimed(Date max_old,
                 Date max_young)

OSVPTimed

public OSVPTimed(InputBuffer buffer)
          throws QSException
Method Detail

serialize

public void serialize(OutputBuffer buffer)
Description copied from interface: QuickSerializable
Add the object to the buffer.

Specified by:
serialize in interface QuickSerializable
Overrides:
serialize in class OSVersionPredicate
Parameters:
buffer - the output buffer to add the object to

toString

public String toString()
Description copied from class: OSVersionPredicate
Returns a String representation of this OSVersionPredicate.

Specified by:
toString in class OSVersionPredicate
Returns:
a String represenation of this OSVersionPredicate

compile

public VersionPredicate compile()
Overrides:
compile in class OSVersionPredicate