org.apache.directory.api.ldap.model.filter
Class EqualityNode<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.EqualityNode<T>
All Implemented Interfaces:
Cloneable, ExprNode

public class EqualityNode<T>
extends SimpleNode<T>

A assertion value node for Equality.

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
EqualityNode(AttributeType attributeType, Value<T> value)
          Creates a new Equality object.
EqualityNode(String attribute, Value<T> value)
          Creates a new Equality 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

EqualityNode

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

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

EqualityNode

public EqualityNode(String attribute,
                    Value<T> value)
Creates a new Equality 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.