Class LessEqNode<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.LessEqNode<T>
-
- Type Parameters:
T- The Value type
public class LessEqNode<T> extends SimpleNode<T>
A assertion value node for LessOrEqual.- 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 LessEqNode(String attribute, byte[] value)Creates a new LessEqNode object.LessEqNode(String attribute, String value)Creates a new LessEqNode object.LessEqNode(AttributeType attributeType, Value value)Creates a new LessEqNode 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
-
LessEqNode
public LessEqNode(AttributeType attributeType, Value value) throws LdapSchemaException
Creates a new LessEqNode object.- Parameters:
attributeType- the attributeTypevalue- the value to test for- Throws:
LdapSchemaException- If the AttributeType does not have an ORDERING MatchingRule
-
LessEqNode
public LessEqNode(String attribute, byte[] value) throws LdapSchemaException
Creates a new LessEqNode object.- Parameters:
attribute- the attribute namevalue- the value to test for- Throws:
LdapSchemaException- If the AttributeType does not have an ORDERING MatchingRule
-
LessEqNode
public LessEqNode(String attribute, String value) throws LdapSchemaException
Creates a new LessEqNode object.- Parameters:
attribute- the attribute namevalue- the value to test for- Throws:
LdapSchemaException- If the AttributeType does not have an ORDERING MatchingRule
-
-
Method Detail
-
toString
public String toString()
- Overrides:
toStringin classAbstractExprNode- Returns:
- A string representing the AndNode
- See Also:
Object.toString()
-
-