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>
  • Field Details

  • Constructor Details

    • SearchRequest

      public SearchRequest()
  • Method Details

    • 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 is Filter
    • 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 is AttributeDescriptions
    • getDn

      public String getDn()
      Gets the value of the dn property.
      Returns:
      possible object is String
    • setDn

      public void setDn(String value)
      Sets the value of the dn property.
      Parameters:
      value - allowed object is String
    • 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 is SearchRequest.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 is SearchRequest.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 is Long
    • 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 is Long
    • isTypesOnly

      public boolean isTypesOnly()
      Gets the value of the typesOnly property.
      Returns:
      possible object is Boolean
    • setTypesOnly

      public void setTypesOnly(Boolean value)
      Sets the value of the typesOnly property.
      Parameters:
      value - allowed object is Boolean