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, setRequestID
protected 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()
Filter
public void setFilter(Filter value)
value
- allowed object is
Filter
public AttributeDescriptions getAttributes()
AttributeDescriptions
public void setAttributes(AttributeDescriptions value)
value
- allowed object is
AttributeDescriptions
public void setDn(String value)
value
- allowed object is
String
public SearchRequest.SearchScope getScope()
SearchRequest.SearchScope
public void setScope(SearchRequest.SearchScope value)
value
- allowed object is
SearchRequest.SearchScope
public SearchRequest.DerefAliasesType getDerefAliases()
SearchRequest.DerefAliasesType
public void setDerefAliases(SearchRequest.DerefAliasesType value)
value
- allowed object is
SearchRequest.DerefAliasesType
public long getSizeLimit()
Long
public void setSizeLimit(Long value)
value
- allowed object is
Long
public long getTimeLimit()
Long
public void setTimeLimit(Long value)
value
- allowed object is
Long
public boolean isTypesOnly()
Boolean
Copyright © 2018 Open eHealth Foundation. All rights reserved.