ostore.client
Class OSVPFresh

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

public class OSVPFresh
extends OSVersionPredicate

The OSVPFresh object is a version predicate for use in OSReads that is satisfied by any version that has not yet expired. That is, any version for which the value of the field ostore.dataobj.Metadata.EXPIRATION_DATE has yet to pass.

Version:
$Id: OSVPFresh.java,v 1.9 2002/07/20 18:44:40 srhea Exp $
Author:
Patrick R. Eaton

Constructor Summary
OSVPFresh()
          Creates a new OSVPFresh version predicate.
OSVPFresh(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

OSVPFresh

public OSVPFresh()
Creates a new OSVPFresh version predicate.


OSVPFresh

public OSVPFresh(InputBuffer buffer)
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