org.israfil.sqlelements.constraints
Class BinaryConstraint

java.lang.Object
  extended by org.israfil.sqlelements.constraints.BinaryConstraint
All Implemented Interfaces:
java.lang.Cloneable, ComplexConstraint, Constraint, SQLElement
Direct Known Subclasses:
Equals, NotEquals

public abstract class BinaryConstraint
extends java.lang.Object
implements ComplexConstraint

A friendly parent for binary column constraints.

Version:
$Revision: 16 $
Author:
Christian Edward Gruber , Latest: $Author: cgruber $

Field Summary
protected  Constraint leftOperand
           
protected  java.lang.String operatorText
           
protected  Constraint rightOperand
           
 
Constructor Summary
protected BinaryConstraint(Constraint leftOperand, Constraint rightOperand, java.lang.String operatorText)
           
 
Method Summary
 java.lang.String render(SQLRenderContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

leftOperand

protected Constraint leftOperand

rightOperand

protected Constraint rightOperand

operatorText

protected java.lang.String operatorText
Constructor Detail

BinaryConstraint

protected BinaryConstraint(Constraint leftOperand,
                           Constraint rightOperand,
                           java.lang.String operatorText)
Method Detail

render

public java.lang.String render(SQLRenderContext context)
Specified by:
render in interface SQLElement


Copyright 2005-2005-2006 null. All Rights Reserved.