org.apache.directory.ldap.client.api.message
Class SearchResultEntry

java.lang.Object
  extended by org.apache.directory.ldap.client.api.message.AbstractMessage
      extended by org.apache.directory.ldap.client.api.message.SearchResultEntry
All Implemented Interfaces:
Message, Response, SearchResponse

public class SearchResultEntry
extends AbstractMessage
implements SearchResponse

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

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

Constructor Summary
SearchResultEntry()
          Creates a new instance of SearchResultEntryImpl.
 
Method Summary
 org.apache.directory.shared.ldap.entry.Entry getEntry()
          Gets the entry.
 org.apache.directory.shared.ldap.name.DN getObjectName()
          Gets the distinguished name of the entry object returned.
 void setEntry(org.apache.directory.shared.ldap.entry.Entry entry)
          Sets an entry
 
Methods inherited from class org.apache.directory.ldap.client.api.message.AbstractMessage
add, getControl, getControls, getMessageId, hasControl, remove, setMessageId, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.directory.ldap.client.api.message.Message
add, getControl, getControls, getMessageId, hasControl, remove, setMessageId
 

Constructor Detail

SearchResultEntry

public SearchResultEntry()
Creates a new instance of SearchResultEntryImpl.

Method Detail

getObjectName

public org.apache.directory.shared.ldap.name.DN getObjectName()
Gets the distinguished name of the entry object returned.

Returns:
the Dn of the entry returned.

getEntry

public org.apache.directory.shared.ldap.entry.Entry getEntry()
Gets the entry.

Returns:
the entry

setEntry

public void setEntry(org.apache.directory.shared.ldap.entry.Entry entry)
Sets an entry

Parameters:
entry - the entry


Copyright © 2009-2011 Apache Software Foundation. All Rights Reserved.