Class EqualityNode<T>
- java.lang.Object
-
- org.apache.directory.api.ldap.model.filter.AbstractExprNode
-
- org.apache.directory.api.ldap.model.filter.LeafNode
-
- org.apache.directory.api.ldap.model.filter.SimpleNode<T>
-
- org.apache.directory.api.ldap.model.filter.EqualityNode<T>
-
- Type Parameters:
T- The Value type
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
bytes, 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
-
-
Constructor Summary
Constructors Constructor Description EqualityNode(String attribute, byte[] value)Creates a new Equality object.EqualityNode(String attribute, String value)Creates a new Equality object.EqualityNode(AttributeType attributeType, Value value)Creates a new Equality object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()-
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, escapeFilterValue, escapeFilterValue, getAttribute, getAttributeType, isLeaf, isSchemaAware, setAttribute, setAttributeType
-
Methods inherited from class org.apache.directory.api.ldap.model.filter.AbstractExprNode
get, getAnnotations, getAssertionType, set
-
-
-
-
Constructor Detail
-
EqualityNode
public EqualityNode(AttributeType attributeType, Value value)
Creates a new Equality object.- Parameters:
attributeType- the attributeTypevalue- the value to test for
-
EqualityNode
public EqualityNode(String attribute, byte[] value)
Creates a new Equality object.- Parameters:
attribute- the attribute namevalue- the value to test for
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toStringin classAbstractExprNode- Returns:
- A string representing the AndNode
- See Also:
Object.toString()
-
-