Class SearchRequest
- java.lang.Object
-
- org.openehealth.ipf.commons.ihe.hpd.stub.dsmlv2.DsmlMessage
-
- org.openehealth.ipf.commons.ihe.hpd.stub.dsmlv2.SearchRequest
-
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>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSearchRequest.DerefAliasesTypeJava class for null.static classSearchRequest.SearchScopeJava class for null.
-
Field Summary
Fields Modifier and Type Field Description protected AttributeDescriptionsattributesprotected SearchRequest.DerefAliasesTypederefAliasesprotected Stringdnprotected Filterfilterprotected SearchRequest.SearchScopescopeprotected LongsizeLimitprotected LongtimeLimitprotected BooleantypesOnly-
Fields inherited from class org.openehealth.ipf.commons.ihe.hpd.stub.dsmlv2.DsmlMessage
control, requestID
-
-
Constructor Summary
Constructors Constructor Description SearchRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeDescriptionsgetAttributes()Gets the value of the attributes property.SearchRequest.DerefAliasesTypegetDerefAliases()Gets the value of the derefAliases property.StringgetDn()Gets the value of the dn property.FiltergetFilter()Gets the value of the filter property.SearchRequest.SearchScopegetScope()Gets the value of the scope property.longgetSizeLimit()Gets the value of the sizeLimit property.longgetTimeLimit()Gets the value of the timeLimit property.booleanisTypesOnly()Gets the value of the typesOnly property.voidsetAttributes(AttributeDescriptions value)Sets the value of the attributes property.voidsetDerefAliases(SearchRequest.DerefAliasesType value)Sets the value of the derefAliases property.voidsetDn(String value)Sets the value of the dn property.voidsetFilter(Filter value)Sets the value of the filter property.voidsetScope(SearchRequest.SearchScope value)Sets the value of the scope property.voidsetSizeLimit(Long value)Sets the value of the sizeLimit property.voidsetTimeLimit(Long value)Sets the value of the timeLimit property.voidsetTypesOnly(Boolean value)Sets the value of the typesOnly property.-
Methods inherited from class org.openehealth.ipf.commons.ihe.hpd.stub.dsmlv2.DsmlMessage
getControl, getRequestID, setRequestID
-
-
-
-
Field Detail
-
filter
protected Filter filter
-
attributes
protected AttributeDescriptions attributes
-
dn
protected String dn
-
scope
protected SearchRequest.SearchScope scope
-
derefAliases
protected SearchRequest.DerefAliasesType derefAliases
-
sizeLimit
protected Long sizeLimit
-
timeLimit
protected Long timeLimit
-
typesOnly
protected Boolean typesOnly
-
-
Method Detail
-
getFilter
public Filter getFilter()
Gets the value of the filter property.- Returns:
- possible object is
Filter
-
setFilter
public void setFilter(Filter value)
Sets the value of the filter property.- Parameters:
value- allowed object isFilter
-
getAttributes
public AttributeDescriptions getAttributes()
Gets the value of the attributes property.- Returns:
- possible object is
AttributeDescriptions
-
setAttributes
public void setAttributes(AttributeDescriptions value)
Sets the value of the attributes property.- Parameters:
value- allowed object isAttributeDescriptions
-
setDn
public void setDn(String value)
Sets the value of the dn property.- Parameters:
value- allowed object isString
-
getScope
public SearchRequest.SearchScope getScope()
Gets the value of the scope property.- Returns:
- possible object is
SearchRequest.SearchScope
-
setScope
public void setScope(SearchRequest.SearchScope value)
Sets the value of the scope property.- Parameters:
value- allowed object isSearchRequest.SearchScope
-
getDerefAliases
public SearchRequest.DerefAliasesType getDerefAliases()
Gets the value of the derefAliases property.- Returns:
- possible object is
SearchRequest.DerefAliasesType
-
setDerefAliases
public void setDerefAliases(SearchRequest.DerefAliasesType value)
Sets the value of the derefAliases property.- Parameters:
value- allowed object isSearchRequest.DerefAliasesType
-
getSizeLimit
public long getSizeLimit()
Gets the value of the sizeLimit property.- Returns:
- possible object is
Long
-
setSizeLimit
public void setSizeLimit(Long value)
Sets the value of the sizeLimit property.- Parameters:
value- allowed object isLong
-
getTimeLimit
public long getTimeLimit()
Gets the value of the timeLimit property.- Returns:
- possible object is
Long
-
setTimeLimit
public void setTimeLimit(Long value)
Sets the value of the timeLimit property.- Parameters:
value- allowed object isLong
-
isTypesOnly
public boolean isTypesOnly()
Gets the value of the typesOnly property.- Returns:
- possible object is
Boolean
-
-