public class ServerSearchResult extends Object
Constructor and Description |
---|
ServerSearchResult(org.apache.directory.api.ldap.model.name.Dn dn,
org.apache.directory.api.ldap.model.entry.Entry serverEntry)
Creates a new instance of ServerSearchResult.
|
ServerSearchResult(org.apache.directory.api.ldap.model.name.Dn dn,
org.apache.directory.api.ldap.model.entry.Entry serverEntry,
boolean isRelative)
Creates a new instance of ServerSearchResult.
|
Modifier and Type | Method and Description |
---|---|
org.apache.directory.api.ldap.model.name.Dn |
getDn() |
Object |
getObject() |
org.apache.directory.api.ldap.model.entry.Entry |
getServerEntry() |
boolean |
isRelative() |
void |
setObject(Object object) |
void |
setRelative(boolean isRelative) |
void |
setServerEntry(org.apache.directory.api.ldap.model.entry.Entry serverEntry) |
String |
toString() |
public ServerSearchResult(org.apache.directory.api.ldap.model.name.Dn dn, org.apache.directory.api.ldap.model.entry.Entry serverEntry, boolean isRelative)
dn
- Distinguished name for this resultserverEntry
- The associated entryisRelative
- Tells if the name is relative to the target contextpublic ServerSearchResult(org.apache.directory.api.ldap.model.name.Dn dn, org.apache.directory.api.ldap.model.entry.Entry serverEntry)
dn
- Distinguished name for this resultserverEntry
- The associated entrypublic org.apache.directory.api.ldap.model.name.Dn getDn()
public org.apache.directory.api.ldap.model.entry.Entry getServerEntry()
public boolean isRelative()
public void setRelative(boolean isRelative)
public void setServerEntry(org.apache.directory.api.ldap.model.entry.Entry serverEntry)
public String toString()
toString
in class Object
Object.toString()
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.