org.apache.directory.shared.ldap.filter
Class EqualityNode<T>
java.lang.Object
org.apache.directory.shared.ldap.filter.AbstractExprNode
org.apache.directory.shared.ldap.filter.LeafNode
org.apache.directory.shared.ldap.filter.SimpleNode<T>
org.apache.directory.shared.ldap.filter.EqualityNode<T>
- All Implemented Interfaces:
- Cloneable, ExprNode
public class EqualityNode<T>
- extends SimpleNode<T>
A assertion value node for Equality.
- Version:
- $Revision: 519266 $
- Author:
- Apache Directory Project
EqualityNode
public EqualityNode(String attribute,
Value<T> value)
- Creates a new Equality object.
- Parameters:
attribute - the attribute namevalue - the value to test for
EqualityNode
protected EqualityNode(String attribute,
Value<T> value,
AssertionType assertionType)
- Creates a new Equality object.
- Parameters:
attribute - the attribute namevalue - the value to test forassertionType - The node's type
clone
public ExprNode clone()
- Makes a full clone in new memory space of the current node and children
- Specified by:
clone in interface ExprNode- Overrides:
clone in class SimpleNode<T>
- Returns:
- the clone
toString
public String toString()
- Overrides:
toString in class AbstractExprNode
- Returns:
- A string representing the AndNode
- See Also:
Object.toString()
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.