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 StringerrorMessageprotected StringmatchedDNprotected List<String>referralprotected ResultCoderesultCode-
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 StringgetErrorMessage()Gets the value of the errorMessage property.StringgetMatchedDN()Gets the value of the matchedDN property.List<String>getReferral()Gets the value of the referral property.ResultCodegetResultCode()Gets the value of the resultCode property.voidsetErrorMessage(String value)Sets the value of the errorMessage property.voidsetMatchedDN(String value)Sets the value of the matchedDN property.voidsetResultCode(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
setmethod 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
-
-