public class SearchItem extends Object
Modifier and Type | Field and Description |
---|---|
private IntermediateResponse |
intermediateResponse
intermediate response.
|
private SearchEntry |
searchEntry
search entry.
|
private SearchReference |
searchReference
search reference.
|
Constructor and Description |
---|
SearchItem(IntermediateResponse ir)
Creates a new search item.
|
SearchItem(SearchEntry se)
Creates a new search item.
|
SearchItem(SearchReference sr)
Creates a new search item.
|
Modifier and Type | Method and Description |
---|---|
IntermediateResponse |
getIntermediateResponse()
Returns the intermediate response in this search item or null if this search item does not contain an intermediate
response.
|
SearchEntry |
getSearchEntry()
Returns the search entry in this search item or null if this search item does not contain a search entry.
|
SearchReference |
getSearchReference()
Returns the search reference in this search item or null if this search item does not contain a search reference.
|
boolean |
isIntermediateResponse()
Returns whether this search item contains an intermediate response.
|
boolean |
isSearchEntry()
Returns whether this search item contains a search entry.
|
boolean |
isSearchReference()
Returns whether this search item contains a search reference.
|
String |
toString() |
private final SearchEntry searchEntry
private final SearchReference searchReference
private final IntermediateResponse intermediateResponse
public SearchItem(SearchEntry se)
se
- ldap entrypublic SearchItem(SearchReference sr)
sr
- searchReferencepublic SearchItem(IntermediateResponse ir)
ir
- intermediate responsepublic boolean isSearchEntry()
public SearchEntry getSearchEntry()
public boolean isSearchReference()
public SearchReference getSearchReference()
public boolean isIntermediateResponse()
public IntermediateResponse getIntermediateResponse()
Copyright © 2003-2019 Virginia Tech. All Rights Reserved.