net.ontopia.persistence.query.jdo
Class JDOAnd

java.lang.Object
  extended by net.ontopia.persistence.query.jdo.JDOAnd
All Implemented Interfaces:
JDOExpressionIF

public class JDOAnd
extends java.lang.Object
implements JDOExpressionIF

INTERNAL: JDOQL logical expression: and (&&). Syntax: '( ... && ... )'.


Field Summary
protected  JDOExpressionIF[] expressions
           
 
Fields inherited from interface net.ontopia.persistence.query.jdo.JDOExpressionIF
AND, BOOLEAN, CONTAINS, ENDS_WITH, EQUALS, IS_EMPTY, LIKE, NOT, NOT_EQUALS, OR, SET_OPERATION, STARTS_WITH, VALUE_EXPRESSION
 
Constructor Summary
JDOAnd(JDOExpressionIF expr)
           
JDOAnd(JDOExpressionIF[] expressions)
           
JDOAnd(JDOExpressionIF expr1, JDOExpressionIF expr2)
           
JDOAnd(JDOExpressionIF expr1, JDOExpressionIF expr2, JDOExpressionIF expr3)
           
JDOAnd(JDOExpressionIF expr1, JDOExpressionIF expr2, JDOExpressionIF expr3, JDOExpressionIF expr4)
           
JDOAnd(JDOExpressionIF expr1, JDOExpressionIF expr2, JDOExpressionIF expr3, JDOExpressionIF expr4, JDOExpressionIF expr5)
           
JDOAnd(java.util.List expressions)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 JDOExpressionIF[] getExpressions()
           
 int getType()
          INTERNAL: Returns the type of JDO expression indicated by one of the constants in the JDOExpressionIF interface.
 int hashCode()
           
 void setExpressions(JDOExpressionIF[] expressions)
           
 java.lang.String toString()
           
 void visit(JDOVisitorIF visitor)
          INTERNAL: Allows the value to be visited.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

expressions

protected JDOExpressionIF[] expressions
Constructor Detail

JDOAnd

public JDOAnd(java.util.List expressions)

JDOAnd

public JDOAnd(JDOExpressionIF[] expressions)

JDOAnd

public JDOAnd(JDOExpressionIF expr)

JDOAnd

public JDOAnd(JDOExpressionIF expr1,
              JDOExpressionIF expr2)

JDOAnd

public JDOAnd(JDOExpressionIF expr1,
              JDOExpressionIF expr2,
              JDOExpressionIF expr3)

JDOAnd

public JDOAnd(JDOExpressionIF expr1,
              JDOExpressionIF expr2,
              JDOExpressionIF expr3,
              JDOExpressionIF expr4)

JDOAnd

public JDOAnd(JDOExpressionIF expr1,
              JDOExpressionIF expr2,
              JDOExpressionIF expr3,
              JDOExpressionIF expr4,
              JDOExpressionIF expr5)
Method Detail

setExpressions

public void setExpressions(JDOExpressionIF[] expressions)

getType

public int getType()
Description copied from interface: JDOExpressionIF
INTERNAL: Returns the type of JDO expression indicated by one of the constants in the JDOExpressionIF interface.

Specified by:
getType in interface JDOExpressionIF

getExpressions

public JDOExpressionIF[] getExpressions()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

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

visit

public void visit(JDOVisitorIF visitor)
Description copied from interface: JDOExpressionIF
INTERNAL: Allows the value to be visited. This method is used for retrieval of nested data in expressions.

Specified by:
visit in interface JDOExpressionIF


Copyright © 2000-2012 Ontopia.