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

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

LessEqNode

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

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

LessEqNode

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