|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.shared.ldap.filter.AbstractExprNode
org.apache.directory.shared.ldap.filter.LeafNode
org.apache.directory.shared.ldap.filter.SimpleNode
public class SimpleNode
A simple assertion value node.
| Field Summary | |
|---|---|
static boolean |
EVAL_GREATER
Constants for comparisons : > |
static boolean |
EVAL_LESSER
Constants for comparisons : < |
protected Value<?> |
value
the value |
| Fields inherited from class org.apache.directory.shared.ldap.filter.AbstractExprNode |
|---|
annotations, assertionType |
| Constructor Summary | |
|---|---|
protected |
SimpleNode(java.lang.String attribute,
Value<?> value,
AssertionType assertionType)
Creates a new SimpleNode object. |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object other)
|
Value<?> |
getValue()
Gets the value. |
int |
hashCode()
|
java.lang.StringBuilder |
printRefinementToBuffer(java.lang.StringBuilder buf)
Default implementation for this method : just throw an exception. |
void |
setValue(Value<?> value)
Sets the value of this node. |
| Methods inherited from class org.apache.directory.shared.ldap.filter.LeafNode |
|---|
accept, getAttribute, isLeaf, setAttribute |
| Methods inherited from class org.apache.directory.shared.ldap.filter.AbstractExprNode |
|---|
get, getAnnotations, getAssertionType, set, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Value<?> value
public static final boolean EVAL_GREATER
public static final boolean EVAL_LESSER
| Constructor Detail |
|---|
protected SimpleNode(java.lang.String attribute,
Value<?> value,
AssertionType assertionType)
attribute - the attribute namevalue - the value to test forassertionType - the node's type| Method Detail |
|---|
public final Value<?> getValue()
public void setValue(Value<?> value)
value - the value for this nodepublic java.lang.StringBuilder printRefinementToBuffer(java.lang.StringBuilder buf)
AbstractExprNode
printRefinementToBuffer in interface ExprNodeprintRefinementToBuffer in class AbstractExprNodebuf - the buffer to append to.
java.lang.UnsupportedOperationException - if this node isn't a part of a refinement.ExprNode.printRefinementToBuffer(StringBuilder)public int hashCode()
hashCode in class LeafNodeObject.hashCode()public boolean equals(java.lang.Object other)
equals in class LeafNodetrue if both objects are equalObject.equals(Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||