java.lang.Object
org.openehealth.ipf.commons.ihe.hpd.stub.dsmlv2.DsmlMessage
org.openehealth.ipf.commons.ihe.hpd.stub.dsmlv2.LDAPResult
All Implemented Interfaces:
BatchResponseElement
Direct Known Subclasses:
ExtendedResponse

public class LDAPResult extends DsmlMessage implements BatchResponseElement

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

    • resultCode

      protected ResultCode resultCode
    • errorMessage

      protected String errorMessage
    • referral

      protected List<String> referral
    • matchedDN

      protected String matchedDN
  • Constructor Details

    • LDAPResult

      public LDAPResult()
  • Method Details

    • 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
    • getElementName

      public String getElementName()
    • setElementName

      public void setElementName(String elementName)