public class SearchRequest extends DsmlMessage
Java class for SearchRequest complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SearchRequest">
<complexContent>
<extension base="{urn:oasis:names:tc:DSML:2:0:core}DsmlMessage">
<sequence>
<element name="filter" type="{urn:oasis:names:tc:DSML:2:0:core}Filter"/>
<element name="attributes" type="{urn:oasis:names:tc:DSML:2:0:core}AttributeDescriptions" minOccurs="0"/>
</sequence>
<attribute name="dn" use="required" type="{urn:oasis:names:tc:DSML:2:0:core}DsmlDN" />
<attribute name="scope" use="required">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="baseObject"/>
<enumeration value="singleLevel"/>
<enumeration value="wholeSubtree"/>
</restriction>
</simpleType>
</attribute>
<attribute name="derefAliases" use="required">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="neverDerefAliases"/>
<enumeration value="derefInSearching"/>
<enumeration value="derefFindingBaseObj"/>
<enumeration value="derefAlways"/>
</restriction>
</simpleType>
</attribute>
<attribute name="sizeLimit" type="{urn:oasis:names:tc:DSML:2:0:core}MAXINT" default="0" />
<attribute name="timeLimit" type="{urn:oasis:names:tc:DSML:2:0:core}MAXINT" default="0" />
<attribute name="typesOnly" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
SearchRequest.DerefAliasesType
Java class for null.
|
static class |
SearchRequest.SearchScope
Java class for null.
|
| Modifier and Type | Field and Description |
|---|---|
protected AttributeDescriptions |
attributes |
protected SearchRequest.DerefAliasesType |
derefAliases |
protected String |
dn |
protected Filter |
filter |
protected SearchRequest.SearchScope |
scope |
protected Long |
sizeLimit |
protected Long |
timeLimit |
protected Boolean |
typesOnly |
control, requestID| Constructor and Description |
|---|
SearchRequest() |
| Modifier and Type | Method and Description |
|---|---|
AttributeDescriptions |
getAttributes()
Gets the value of the attributes property.
|
SearchRequest.DerefAliasesType |
getDerefAliases()
Gets the value of the derefAliases property.
|
String |
getDn()
Gets the value of the dn property.
|
Filter |
getFilter()
Gets the value of the filter property.
|
SearchRequest.SearchScope |
getScope()
Gets the value of the scope property.
|
long |
getSizeLimit()
Gets the value of the sizeLimit property.
|
long |
getTimeLimit()
Gets the value of the timeLimit property.
|
boolean |
isTypesOnly()
Gets the value of the typesOnly property.
|
void |
setAttributes(AttributeDescriptions value)
Sets the value of the attributes property.
|
void |
setDerefAliases(SearchRequest.DerefAliasesType value)
Sets the value of the derefAliases property.
|
void |
setDn(String value)
Sets the value of the dn property.
|
void |
setFilter(Filter value)
Sets the value of the filter property.
|
void |
setScope(SearchRequest.SearchScope value)
Sets the value of the scope property.
|
void |
setSizeLimit(Long value)
Sets the value of the sizeLimit property.
|
void |
setTimeLimit(Long value)
Sets the value of the timeLimit property.
|
void |
setTypesOnly(Boolean value)
Sets the value of the typesOnly property.
|
getControl, getRequestID, setRequestIDprotected Filter filter
protected AttributeDescriptions attributes
protected String dn
protected SearchRequest.SearchScope scope
protected SearchRequest.DerefAliasesType derefAliases
protected Long sizeLimit
protected Long timeLimit
protected Boolean typesOnly
public Filter getFilter()
Filterpublic void setFilter(Filter value)
value - allowed object is
Filterpublic AttributeDescriptions getAttributes()
AttributeDescriptionspublic void setAttributes(AttributeDescriptions value)
value - allowed object is
AttributeDescriptionspublic void setDn(String value)
value - allowed object is
Stringpublic SearchRequest.SearchScope getScope()
SearchRequest.SearchScopepublic void setScope(SearchRequest.SearchScope value)
value - allowed object is
SearchRequest.SearchScopepublic SearchRequest.DerefAliasesType getDerefAliases()
SearchRequest.DerefAliasesTypepublic void setDerefAliases(SearchRequest.DerefAliasesType value)
value - allowed object is
SearchRequest.DerefAliasesTypepublic long getSizeLimit()
Longpublic void setSizeLimit(Long value)
value - allowed object is
Longpublic long getTimeLimit()
Longpublic void setTimeLimit(Long value)
value - allowed object is
Longpublic boolean isTypesOnly()
BooleanCopyright © 2020 Open eHealth Foundation. All rights reserved.