net.ontopia.persistence.query.sql
Class SQLOr

java.lang.Object
  extended by net.ontopia.persistence.query.sql.SQLOr
All Implemented Interfaces:
SQLExpressionIF

public class SQLOr
extends java.lang.Object
implements SQLExpressionIF

INTERNAL: SQL logical expression: or


Field Summary
protected  SQLExpressionIF[] expressions
           
 
Fields inherited from interface net.ontopia.persistence.query.sql.SQLExpressionIF
AND, EQUALS, EXISTS, FALSE, IN, IS_NULL, JOIN, LIKE, NOT, NOT_EQUALS, OR, SET_OPERATION, VALUE_EXPRESSION, VERBATIM
 
Constructor Summary
SQLOr(SQLExpressionIF[] expressions)
           
SQLOr(SQLExpressionIF expr1, SQLExpressionIF expr2)
           
SQLOr(SQLExpressionIF expr1, SQLExpressionIF expr2, SQLExpressionIF expr3)
           
 
Method Summary
 SQLExpressionIF[] getExpressions()
           
 int getType()
          INTERNAL: Returns the expression type.
 void setExpressions(SQLExpressionIF[] expressions)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

expressions

protected SQLExpressionIF[] expressions
Constructor Detail

SQLOr

public SQLOr(SQLExpressionIF[] expressions)

SQLOr

public SQLOr(SQLExpressionIF expr1,
             SQLExpressionIF expr2)

SQLOr

public SQLOr(SQLExpressionIF expr1,
             SQLExpressionIF expr2,
             SQLExpressionIF expr3)
Method Detail

getType

public int getType()
Description copied from interface: SQLExpressionIF
INTERNAL: Returns the expression type. The type is represented by one of the constants in the SQLExpressionIF interface.

Specified by:
getType in interface SQLExpressionIF

getExpressions

public SQLExpressionIF[] getExpressions()

setExpressions

public void setExpressions(SQLExpressionIF[] expressions)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2000-2012 Ontopia.