ostore.client
Class OSVPVersionId

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

public class OSVPVersionId
extends OSVersionPredicate

The OSVPVersionId is a version predicate that is satisfied only by the version identifier specified in the predicate.

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

Field Summary
static byte VGUID
          A code to indicate that the given version identifier is a Vguid.
static byte VHASH
          A code to indicate that the given version identifier is a Vhash.
 
Constructor Summary
OSVPVersionId(byte version_id_type, SecureHash version_id)
           
OSVPVersionId(InputBuffer buffer)
           
OSVPVersionId(VID vid)
           
 
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
 

Field Detail

VHASH

public static final byte VHASH
A code to indicate that the given version identifier is a Vhash.

See Also:
Constant Field Values

VGUID

public static final byte VGUID
A code to indicate that the given version identifier is a Vguid.

See Also:
Constant Field Values
Constructor Detail

OSVPVersionId

public OSVPVersionId(byte version_id_type,
                     SecureHash version_id)

OSVPVersionId

public OSVPVersionId(VID vid)

OSVPVersionId

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