wt.query
Class NegatedExpression

java.lang.Object
  extended by wt.query.NegatedExpression
All Implemented Interfaces:
Externalizable, Serializable, Cloneable, WhereExpression

public class NegatedExpression
extends Object
implements WhereExpression, Externalizable

This class represents a negation of an expression in a WHERE clause. This class contains an aggregated WhereExpression which is preceded with a NOT when this expression is evaluated.

Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface wt.query.WhereExpression
FROM_INDICIES
 
Constructor Summary
NegatedExpression(WhereExpression a_expression)
          

Supported API: true
 
Method Summary
 int[] getFromIndicies()
          Gets the value of the attribute: fromIndicies; Indicies for all current expressions relative to a FromClause that will be used for validating and setting aliases when this compostie expression is appended to a statement.
 int setFromIndicies(int[] a_fromIndicies, int a_offset)
          This method sets the From clause indicies for components of the expression.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NegatedExpression

public NegatedExpression(WhereExpression a_expression)


Supported API: true

Parameters:
a_expression - Specifies WHERE expression to negate.
Method Detail

getFromIndicies

public int[] getFromIndicies()
Gets the value of the attribute: fromIndicies; Indicies for all current expressions relative to a FromClause that will be used for validating and setting aliases when this compostie expression is appended to a statement.

Supported API: true

Specified by:
getFromIndicies in interface WhereExpression
Returns:
int[]

setFromIndicies

public int setFromIndicies(int[] a_fromIndicies,
                           int a_offset)
This method sets the From clause indicies for components of the expression.

Supported API: true

Specified by:
setFromIndicies in interface WhereExpression
Parameters:
a_fromIndicies - From indicies to set.
a_offset - Offset index into the From indicies array for the next valid From index
Returns:
number of indicies used