Class LDAPResult

  • Direct Known Subclasses:
    ExtendedResponse

    public class LDAPResult
    extends DsmlMessage

    Java class for LDAPResult complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="LDAPResult">
       <complexContent>
         <extension base="{urn:oasis:names:tc:DSML:2:0:core}DsmlMessage">
           <sequence>
             <element name="resultCode" type="{urn:oasis:names:tc:DSML:2:0:core}ResultCode"/>
             <element name="errorMessage" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
             <element name="referral" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/>
           </sequence>
           <attribute name="matchedDN" type="{urn:oasis:names:tc:DSML:2:0:core}DsmlDN" />
         </extension>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • LDAPResult

        public LDAPResult()
    • Method Detail

      • getResultCode

        public ResultCode getResultCode()
        Gets the value of the resultCode property.
        Returns:
        possible object is ResultCode
      • setResultCode

        public void setResultCode​(ResultCode value)
        Sets the value of the resultCode property.
        Parameters:
        value - allowed object is ResultCode
      • getErrorMessage

        public String getErrorMessage()
        Gets the value of the errorMessage property.
        Returns:
        possible object is String
      • setErrorMessage

        public void setErrorMessage​(String value)
        Sets the value of the errorMessage property.
        Parameters:
        value - allowed object is String
      • getReferral

        public List<String> getReferral()
        Gets the value of the referral property.

        This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the referral property.

        For example, to add a new item, do as follows:

            getReferral().add(newItem);
         

        Objects of the following type(s) are allowed in the list String

      • getMatchedDN

        public String getMatchedDN()
        Gets the value of the matchedDN property.
        Returns:
        possible object is String
      • setMatchedDN

        public void setMatchedDN​(String value)
        Sets the value of the matchedDN property.
        Parameters:
        value - allowed object is String