public class SearchResultEntryImpl extends AbstractResponse implements SearchResultEntry
Constructor and Description |
---|
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.
|
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.
|
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
|
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId, toString
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId
public SearchResultEntryImpl()
public SearchResultEntryImpl(int id)
id
- the session unique message idpublic Entry getEntry()
getEntry
in interface SearchResultEntry
public void setEntry(Entry entry)
setEntry
in interface SearchResultEntry
entry
- the entrypublic Dn getObjectName()
getObjectName
in interface SearchResultEntry
public void setObjectName(Dn objectName)
setObjectName
in interface SearchResultEntry
objectName
- the Dn of the entry returned.public int hashCode()
hashCode
in class AbstractMessage
Object.hashCode()
public boolean equals(Object obj)
equals
in class AbstractMessage
obj
- the object to test for equality with this messageCopyright © 2003–2020 The Apache Software Foundation. All rights reserved.