|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.api.ldap.model.filter.AbstractExprNode
org.apache.directory.api.ldap.model.filter.LeafNode
org.apache.directory.api.ldap.model.filter.ExtensibleNode
public class ExtensibleNode
Filter expression tree node for extensible assertions.
| Field Summary |
|---|
| 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 | |
|---|---|
ExtensibleNode(AttributeType attributeType)
Creates a new emptyExtensibleNode object. |
|
ExtensibleNode(AttributeType attributeType,
Value<?> value,
String matchingRuleId,
boolean dnAttributes)
Creates a new ExtensibleNode object. |
|
ExtensibleNode(String attribute)
Creates a new emptyExtensibleNode object. |
|
ExtensibleNode(String attribute,
Value<?> value,
String matchingRuleId,
boolean dnAttributes)
Creates a new ExtensibleNode object. |
|
| Method Summary | |
|---|---|
ExprNode |
clone()
Makes a full clone in new memory space of the current node and children |
boolean |
equals(Object obj)
|
Value<?> |
getEscapedValue()
|
String |
getMatchingRuleId()
Gets the matching rule id as an OID string. |
Value<?> |
getValue()
Gets the value. |
boolean |
hasDnAttributes()
Gets the Dn attributes. |
int |
hashCode()
|
void |
setDnAttributes(boolean dnAttributes)
Set the dnAttributes flag |
void |
setMatchingRuleId(String matchingRuleId)
Sets the matching rule id as an OID string. |
void |
setValue(Value<?> value)
Sets the value. |
String |
toString()
|
| 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, printRefinementToBuffer, set |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ExtensibleNode(AttributeType attributeType)
attributeType - the attributeType associated with this nodepublic ExtensibleNode(String attribute)
attribute - the attribute associated with this node
public ExtensibleNode(AttributeType attributeType,
Value<?> value,
String matchingRuleId,
boolean dnAttributes)
attributeType - the attributeType used for the extensible assertionvalue - the value to match formatchingRuleId - the OID of the matching rulednAttributes - the dn attributes
public ExtensibleNode(String attribute,
Value<?> value,
String matchingRuleId,
boolean dnAttributes)
attribute - the attribute used for the extensible assertionvalue - the value to match formatchingRuleId - the OID of the matching rulednAttributes - the dn attributes| Method Detail |
|---|
public ExprNode clone()
clone in interface ExprNodeclone in class AbstractExprNodepublic boolean hasDnAttributes()
public void setDnAttributes(boolean dnAttributes)
dnAttributes - The flag to setpublic String getMatchingRuleId()
public void setMatchingRuleId(String matchingRuleId)
matchingRuleId - The maching rule IDpublic final Value<?> getValue()
public Value<?> getEscapedValue()
public final void setValue(Value<?> value)
value - the valuepublic boolean equals(Object obj)
equals in class LeafNodetrue if both objects are equalObject.equals(java.lang.Object)public int hashCode()
hashCode in class LeafNodeObject.hashCode()public String toString()
toString in class AbstractExprNodeObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||