org.apache.directory.api.ldap.model.filter
Class ApproximateNode<T>

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

public class ApproximateNode<T>
extends SimpleNode<T>

A simple assertion value node.

Author:
Apache Directory Project

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

Constructor Detail

ApproximateNode

public ApproximateNode(AttributeType attributeType,
                       Value<T> value)
Creates a new ApproximateNode object.

Parameters:
attributeType - the attribute type
value - the value to test for

ApproximateNode

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

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

toString

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


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.