public class ScopeNode extends AbstractExprNode
| Modifier and Type | Field and Description |
|---|---|
private AliasDerefMode |
aliasDerefAliases
the alias dereferencing mode
|
private Dn |
baseDn
the search base
|
private String |
baseId
the search ID
|
private SearchScope |
scope
the scope of this node
|
annotations, assertionType| Constructor and Description |
|---|
ScopeNode(AliasDerefMode aliasDerefAliases,
Dn baseDn,
String baseId,
SearchScope scope)
Creates a new ScopeNode object.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
accept(FilterVisitor visitor)
Element/node accept method for visitor pattern.
|
boolean |
equals(Object obj) |
Dn |
getBaseDn()
Gets the base dn.
|
String |
getBaseId()
Gets the base ID.
|
AliasDerefMode |
getDerefAliases()
Gets the alias dereferencing mode type safe enumeration.
|
SearchScope |
getScope()
Gets the search scope.
|
int |
hashCode() |
boolean |
isLeaf()
Always returns true since a scope node has no children.
|
boolean |
isSchemaAware()
Tells if this Node is Schema aware.
|
String |
toString() |
clone, get, getAnnotations, getAssertionType, printRefinementToBuffer, setprivate final SearchScope scope
private final Dn baseDn
private final String baseId
private final AliasDerefMode aliasDerefAliases
public ScopeNode(AliasDerefMode aliasDerefAliases, Dn baseDn, String baseId, SearchScope scope)
aliasDerefAliases - the alias dereferencing modebaseDn - the search basebaseId - the search IDscope - the search scopepublic boolean isLeaf()
trueExprNode.isLeaf()public SearchScope getScope()
public Dn getBaseDn()
public String getBaseId()
public AliasDerefMode getDerefAliases()
public Object accept(FilterVisitor visitor)
ExprNodevisitor - the filter expression tree structure visitorExprNode.accept(
FilterVisitor)public boolean isSchemaAware()
public boolean equals(Object obj)
equals in class AbstractExprNodetrue if both objects are equalObject.equals(Object)public int hashCode()
hashCode in class AbstractExprNodeObject.hashCode()public String toString()
toString in class AbstractExprNodeObject.toString()Copyright © 2003–2019 The Apache Software Foundation. All rights reserved.