org.xorm.query
Class Expression.UnaryMinus

java.lang.Object
  |
  +--org.xorm.query.Expression
        |
        +--org.xorm.query.Expression.Unary
              |
              +--org.xorm.query.Expression.UnaryMinus
Enclosing class:
Expression

public static class Expression.UnaryMinus
extends Expression.Unary


Nested Class Summary
 
Nested classes inherited from class org.xorm.query.Expression
Expression.Add, Expression.And, Expression.Arithmetic, Expression.Binary, Expression.BitwiseComplement, Expression.Cast, Expression.Comparison, Expression.ConditionalAnd, Expression.ConditionalOr, Expression.Constant, Expression.Divide, Expression.Equal, Expression.ExclusiveOr, Expression.FieldAccess, Expression.GreaterThan, Expression.GreaterThanEqual, Expression.InclusiveOr, Expression.LessThan, Expression.LessThanEqual, Expression.Member, Expression.MethodCall, Expression.Modulo, Expression.Multiply, Expression.Not, Expression.NotEqual, Expression.Numeric, Expression.Parameter, Expression.Subtract, Expression.Symbolic, Expression.Unary, Expression.UnaryMinus, Expression.Variable
 
Field Summary
 
Fields inherited from class org.xorm.query.Expression.Unary
operand
 
Constructor Summary
Expression.UnaryMinus(Expression operand)
           
 
Method Summary
 Object evaluate(QueryContext context)
           
 String toString()
           
 
Methods inherited from class org.xorm.query.Expression.Unary
accept, getOperand, getType, setOperand
 
Methods inherited from class org.xorm.query.Expression
escapeChar, escapeString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Expression.UnaryMinus

public Expression.UnaryMinus(Expression operand)
Method Detail

evaluate

public Object evaluate(QueryContext context)
Specified by:
evaluate in class Expression

toString

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


$Header: /cvsroot/xorm/xorm/docs/api/org/xorm/query/Expression.UnaryMinus.html,v 1.2 2004/05/30 08:55:08 wbiggs Exp $