org.apache.directory.shared.ldap.filter
Class ApproximateNode<T>

java.lang.Object
  extended by org.apache.directory.shared.ldap.filter.AbstractExprNode
      extended by org.apache.directory.shared.ldap.filter.LeafNode
          extended by org.apache.directory.shared.ldap.filter.SimpleNode<T>
              extended by org.apache.directory.shared.ldap.filter.ApproximateNode<T>
All Implemented Interfaces:
java.lang.Cloneable, ExprNode

public class ApproximateNode<T>
extends SimpleNode<T>

A simple assertion value node.

Version:
$Revision: 519266 $
Author:
Apache Directory Project

Field Summary
 
Fields inherited from class org.apache.directory.shared.ldap.filter.SimpleNode
EVAL_GREATER, EVAL_LESSER, value
 
Fields inherited from class org.apache.directory.shared.ldap.filter.AbstractExprNode
annotations, assertionType
 
Constructor Summary
ApproximateNode(java.lang.String attribute, Value<T> value)
          Creates a new ApproximateNode object.
 
Method Summary
 ExprNode clone()
          Return a cloned node
 java.lang.String toString()
           
 
Methods inherited from class org.apache.directory.shared.ldap.filter.SimpleNode
equals, getEscapedValue, getValue, hashCode, printRefinementToBuffer, printToBuffer, setValue
 
Methods inherited from class org.apache.directory.shared.ldap.filter.LeafNode
accept, getAttribute, isLeaf, setAttribute
 
Methods inherited from class org.apache.directory.shared.ldap.filter.AbstractExprNode
escapeFilterValue, get, getAnnotations, getAssertionType, set
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ApproximateNode

public ApproximateNode(java.lang.String attribute,
                       Value<T> value)
Creates a new ApproximateNode object.

Parameters:
attribute - the attribute name
value - the value to test for
Method Detail

clone

public ExprNode clone()
Return a cloned node

Specified by:
clone in interface ExprNode
Overrides:
clone in class SimpleNode<T>
Returns:
the clone

toString

public java.lang.String toString()
Overrides:
toString in class AbstractExprNode
Returns:
A string representing the AndNode
See Also:
Object.toString()


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.