Class 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>
     
    • Constructor Detail

      • SearchRequest

        public SearchRequest()
    • 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 is Filter
      • 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
      • 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