org.jrdf.query.expression
Class Conjunction<V extends ExpressionVisitor>

java.lang.Object
  extended by org.jrdf.query.expression.Conjunction<V>
All Implemented Interfaces:
Serializable, Expression<V>

public final class Conjunction<V extends ExpressionVisitor>
extends Object
implements Expression<V>, Serializable

Conjunction - represents an AND between two expressions.

Version:
$Revision:$
Author:
Andrew Newman
See Also:
Serialized Form

Constructor Summary
Conjunction(Expression<V> lhs, Expression<V> rhs)
           
 
Method Summary
 void accept(V v)
           
 boolean equals(Object obj)
           
 Expression<V> getLhs()
           
 Expression<V> getRhs()
           
 int hashCode()
           
 void setLhs(Expression<V> lhs)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Conjunction

public Conjunction(Expression<V> lhs,
                   Expression<V> rhs)
Method Detail

getLhs

public Expression<V> getLhs()

getRhs

public Expression<V> getRhs()

setLhs

public void setLhs(Expression<V> lhs)

accept

public void accept(V v)
Specified by:
accept in interface Expression<V extends ExpressionVisitor>

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object