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 class
SearchRequest.DerefAliasesType
Java class for null.static class
SearchRequest.SearchScope
Java class for null.
-
Field Summary
Fields Modifier and Type Field 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
-
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 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.-
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
-
-