public class ServerSearchResult
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private org.apache.directory.api.ldap.model.name.Dn |
dn
Distinguished name for this result
|
private boolean |
isRelative
Tells if the name is relative to the target context
|
private java.lang.Object |
object
The bound object
|
private org.apache.directory.api.ldap.model.entry.Entry |
serverEntry
The associated entry
|
| 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() |
java.lang.Object |
getObject() |
org.apache.directory.api.ldap.model.entry.Entry |
getServerEntry() |
boolean |
isRelative() |
void |
setObject(java.lang.Object object) |
void |
setRelative(boolean isRelative) |
void |
setServerEntry(org.apache.directory.api.ldap.model.entry.Entry serverEntry) |
java.lang.String |
toString() |
private org.apache.directory.api.ldap.model.name.Dn dn
private org.apache.directory.api.ldap.model.entry.Entry serverEntry
private boolean isRelative
private java.lang.Object object
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 java.lang.Object getObject()
public void setObject(java.lang.Object object)
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()