com.simba.dsi.ext
Class SimpleBooleanExprHandler.LiteralValue

java.lang.Object
  extended by com.simba.dsi.ext.SimpleBooleanExprHandler.LiteralValue
Enclosing class:
SimpleBooleanExprHandler

protected static class SimpleBooleanExprHandler.LiteralValue
extends java.lang.Object

A class which encapsulates in AELiteral node and a boolean indicating if the literal has been negated in the query.


Constructor Summary
protected SimpleBooleanExprHandler.LiteralValue(AELiteral literalNode, boolean isNegated)
          Constructor.
 
Method Summary
 AELiteral getLiteralNode()
          Returns the AELiteral node.
 boolean isNegated()
          Indicates if the literal was negated in the query.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleBooleanExprHandler.LiteralValue

protected SimpleBooleanExprHandler.LiteralValue(AELiteral literalNode,
                                                boolean isNegated)
Constructor.

Parameters:
literalNode - The literal node.
isNegated - Indicates if literalNode has been negated in the query.
Method Detail

isNegated

public boolean isNegated()
Indicates if the literal was negated in the query.

Returns:
True if the literal was negated. False otherwise.

getLiteralNode

public AELiteral getLiteralNode()
Returns the AELiteral node.

Returns:
The AELiteral node.


Copyright © 2006-2014 Simba Technologies Incorporated. All Rights Reserved.