org.ldaptive.control.util
Class SyncReplItem.Entry

java.lang.Object
  extended by org.ldaptive.control.util.SyncReplItem.Entry
Enclosing class:
SyncReplItem

public static class SyncReplItem.Entry
extends Object

Wrapper class that provides easy access to the SyncStateControl contained in a search entry.


Constructor Summary
SyncReplItem.Entry(SearchEntry entry)
          Creates a new entry.
 
Method Summary
 SearchEntry getSearchEntry()
          Returns the underlying search entry.
 SyncStateControl getSyncStateControl()
          Returns the sync state control or null if no such control exists in the search entry.
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SyncReplItem.Entry

public SyncReplItem.Entry(SearchEntry entry)
Creates a new entry. If the supplied search entry contains a SyncStateControl it is made available via getSyncStateControl().

Parameters:
entry - to search for sync state control in
Method Detail

getSearchEntry

public SearchEntry getSearchEntry()
Returns the underlying search entry.

Returns:
underlying search entry

getSyncStateControl

public SyncStateControl getSyncStateControl()
Returns the sync state control or null if no such control exists in the search entry.

Returns:
sync state control

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2003-2015 Virginia Tech. All Rights Reserved.