org.apache.directory.api.ldap.model.message
Interface SearchResultEntry

All Superinterfaces:
Message, Response
All Known Implementing Classes:
SearchResultEntryImpl

public interface SearchResultEntry
extends Response

Search entry protocol response message used to return non referral entries to the client in response to a search request message.

Author:
Apache Directory Project

Field Summary
static MessageTypeEnum TYPE
          Search entry response message type enumeration value
 
Method Summary
 Entry getEntry()
          Gets the entry.
 Dn getObjectName()
          Gets the distinguished name of the entry object returned.
 void setEntry(Entry entry)
          Sets an entry
 void setObjectName(Dn objectName)
          Sets the distinguished name of the entry object returned.
 
Methods inherited from interface org.apache.directory.api.ldap.model.message.Message
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId
 

Field Detail

TYPE

static final MessageTypeEnum TYPE
Search entry response message type enumeration value

Method Detail

getObjectName

Dn getObjectName()
Gets the distinguished name of the entry object returned.

Returns:
the Dn of the entry returned.

setObjectName

void setObjectName(Dn objectName)
Sets the distinguished name of the entry object returned.

Parameters:
objectName - the Dn of the entry returned.

getEntry

Entry getEntry()
Gets the entry.

Returns:
the entry

setEntry

void setEntry(Entry entry)
Sets an entry

Parameters:
entry - the entry


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.