ostore.client
Class OSPredicateVersionId

java.lang.Object
  |
  +--ostore.client.OSPredicate
        |
        +--ostore.client.OSPredicateVersionId
All Implemented Interfaces:
QuickSerializable

public class OSPredicateVersionId
extends OSPredicate

The OSPredicateVersionId predicate evaluates to true when the current version identifier for the object matches the version identifier given to the predicate.

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

Constructor Summary
OSPredicateVersionId(InputBuffer buffer)
           
OSPredicateVersionId(SecureHash aguid, VID version_id)
          Creates a new OSPredicateVersionId.
 
Method Summary
 void serialize(OutputBuffer buffer)
          Add the object to the buffer.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OSPredicateVersionId

public OSPredicateVersionId(SecureHash aguid,
                            VID version_id)
Creates a new OSPredicateVersionId.


OSPredicateVersionId

public OSPredicateVersionId(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 OSPredicate
Parameters:
buffer - the output buffer to add the object to

toString

public String toString()
Specified by:
toString in class OSPredicate