|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.api.ldap.model.message.AbstractMessage
org.apache.directory.api.ldap.model.message.AbstractResponse
org.apache.directory.api.ldap.model.message.SearchResultEntryImpl
public class SearchResultEntryImpl
Lockable SearchResponseEntry implementation
| Field Summary |
|---|
| Fields inherited from class org.apache.directory.api.ldap.model.message.AbstractMessage |
|---|
controls |
| Fields inherited from interface org.apache.directory.api.ldap.model.message.SearchResultEntry |
|---|
TYPE |
| Constructor Summary | |
|---|---|
SearchResultEntryImpl()
Creates a SearchResponseEntry as a reply to an SearchRequest to indicate the end of a search operation. |
|
SearchResultEntryImpl(int id)
Creates a SearchResponseEntry as a reply to an SearchRequest to indicate the end of a search operation. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Checks for equality by comparing the objectName, and attributes properties of this Message after delegating to the super.equals() method. |
Entry |
getEntry()
Gets the entry |
Dn |
getObjectName()
Gets the distinguished name of the entry object returned. |
int |
hashCode()
|
void |
setEntry(Entry entry)
Sets the entry. |
void |
setObjectName(Dn objectName)
Sets the distinguished name of the entry object returned. |
String |
toString()
Return a string representation of a SearchResultEntry request |
| Methods inherited from class org.apache.directory.api.ldap.model.message.AbstractMessage |
|---|
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.directory.api.ldap.model.message.Message |
|---|
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId |
| Constructor Detail |
|---|
public SearchResultEntryImpl()
public SearchResultEntryImpl(int id)
id - the session unique message id| Method Detail |
|---|
public Entry getEntry()
getEntry in interface SearchResultEntrypublic void setEntry(Entry entry)
setEntry in interface SearchResultEntryentry - the entrypublic Dn getObjectName()
getObjectName in interface SearchResultEntrypublic void setObjectName(Dn objectName)
setObjectName in interface SearchResultEntryobjectName - the Dn of the entry returned.public int hashCode()
hashCode in class AbstractMessageObject.hashCode()public boolean equals(Object obj)
equals in class AbstractMessageobj - the object to test for equality with this message
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||