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 | Field and Description |
|---|---|
protected AttributeDescriptions |
attributes |
protected String |
derefAliases |
protected String |
dn |
protected Filter |
filter |
protected String |
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.
|
String |
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.
|
String |
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(String 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(String 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 String scope
protected String 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 String getScope()
Stringpublic void setScope(String value)
value - allowed object is
Stringpublic String getDerefAliases()
Stringpublic void setDerefAliases(String value)
value - allowed object is
Stringpublic 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 © 2017 Open eHealth Foundation. All rights reserved.