public class ScopeNode extends AbstractExprNode
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, getAssertionType, printRefinementToBuffer, set
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()
true
ExprNode.isLeaf()
public SearchScope getScope()
public AliasDerefMode getDerefAliases()
public Object accept(FilterVisitor visitor)
ExprNode
visitor
- the filter expression tree structure visitorExprNode.accept(
FilterVisitor)
public boolean isSchemaAware()
public boolean equals(Object obj)
equals
in class AbstractExprNode
true
if both objects are equalObject.equals(Object)
public int hashCode()
hashCode
in class AbstractExprNode
Object.hashCode()
public String toString()
toString
in class AbstractExprNode
Object.toString()
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.