Class LDAPResult
- java.lang.Object
-
- org.openehealth.ipf.commons.ihe.hpd.stub.dsmlv2.DsmlMessage
-
- org.openehealth.ipf.commons.ihe.hpd.stub.dsmlv2.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>
-
-
Field Summary
Fields Modifier and Type Field Description protected String
errorMessage
protected String
matchedDN
protected List<String>
referral
protected ResultCode
resultCode
-
Fields inherited from class org.openehealth.ipf.commons.ihe.hpd.stub.dsmlv2.DsmlMessage
control, requestID
-
-
Constructor Summary
Constructors Constructor Description LDAPResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getErrorMessage()
Gets the value of the errorMessage property.String
getMatchedDN()
Gets the value of the matchedDN property.List<String>
getReferral()
Gets the value of the referral property.ResultCode
getResultCode()
Gets the value of the resultCode property.void
setErrorMessage(String value)
Sets the value of the errorMessage property.void
setMatchedDN(String value)
Sets the value of the matchedDN property.void
setResultCode(ResultCode value)
Sets the value of the resultCode property.-
Methods inherited from class org.openehealth.ipf.commons.ihe.hpd.stub.dsmlv2.DsmlMessage
getControl, getRequestID, setRequestID
-
-
-
-
Field Detail
-
resultCode
protected ResultCode resultCode
-
errorMessage
protected String errorMessage
-
matchedDN
protected String matchedDN
-
-
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 isResultCode
-
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 isString
-
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
-
-