public class SearchResponseEntryImpl extends InternalAbstractResponse implements InternalSearchResponseEntry
TYPE
Constructor and Description |
---|
SearchResponseEntryImpl(int id)
Creates a SearchResponseEntry as a reply to an SearchRequest to
indicate the end of a search operation.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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
|
add, addAll, get, getControls, getMessageId, getType, hasControl, hashCode, put, remove
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
add, addAll, get, getControls, getMessageId, getType, hasControl, put, remove
public SearchResponseEntryImpl(int id)
id
- the session unique message idpublic Entry getEntry()
getEntry
in interface InternalSearchResponseEntry
public void setEntry(Entry entry)
setEntry
in interface InternalSearchResponseEntry
entry
- the entrypublic DN getObjectName()
getObjectName
in interface InternalSearchResponseEntry
public void setObjectName(DN objectName)
setObjectName
in interface InternalSearchResponseEntry
objectName
- the Dn of the entry returned.public boolean equals(Object obj)
equals
in class InternalAbstractMessage
obj
- the object to test for equality with this messageCopyright © 2003–2014 The Apache Software Foundation. All rights reserved.