ostore.client
Class OSVPSeqNum

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

public class OSVPSeqNum
extends OSVersionPredicate

The OSVPSeqNum is a version predicate that specifies a version based on its version sequence number.

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

Constructor Summary
OSVPSeqNum(InputBuffer buffer)
           
OSVPSeqNum(long seq_num)
           
OSVPSeqNum(long seq_num_low, long seq_num_high)
           
 
Method Summary
 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

OSVPSeqNum

public OSVPSeqNum(long seq_num)

OSVPSeqNum

public OSVPSeqNum(long seq_num_low,
                  long seq_num_high)

OSVPSeqNum

public OSVPSeqNum(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