ostore.client
Class OSPredicateAnd

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

public class OSPredicateAnd
extends OSPredicate

The OSPredicateAnd evaluates to the logical AND of its subpredicates.

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

Constructor Summary
OSPredicateAnd(InputBuffer buffer)
           
OSPredicateAnd(OSPredicate pred1, OSPredicate pred2)
           
 
Method Summary
 void appendPredicate(OSPredicate pred)
           
 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

OSPredicateAnd

public OSPredicateAnd(OSPredicate pred1,
                      OSPredicate pred2)

OSPredicateAnd

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

appendPredicate

public void appendPredicate(OSPredicate pred)

toString

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