org.apache.directory.shared.ldap.message
Interface SearchResponseEntry

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

public interface SearchResponseEntry
extends Response

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

Version:
$Revision: 690033 $
Author:
Apache Directory Project

Field Summary
static MessageTypeEnum TYPE
          Search entry response message type enumeration value
 
Method Summary
 Entry getEntry()
          Gets the entry.
 LdapDN getObjectName()
          Gets the distinguished name of the entry object returned.
 void setEntry(Entry entry)
          Sets an entry
 void setObjectName(LdapDN dn)
          Sets the distinguished name of the entry object returned.
 
Methods inherited from interface org.apache.directory.shared.ldap.message.Message
add, addAll, get, getControls, getMessageId, getType, hasControl, put, remove
 

Field Detail

TYPE

static final MessageTypeEnum TYPE
Search entry response message type enumeration value

Method Detail

getObjectName

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

Returns:
the Dn of the entry returned.

setObjectName

void setObjectName(LdapDN dn)
Sets the distinguished name of the entry object returned.

Parameters:
dn - 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-2009 Apache Software Foundation. All Rights Reserved.