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>
Modifier and Type | Field and Description |
---|---|
protected String |
errorMessage |
protected String |
matchedDN |
protected List<String> |
referral |
protected ResultCode |
resultCode |
control, requestID
Constructor and Description |
---|
LDAPResult() |
Modifier and Type | Method and 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.
|
getControl, getRequestID, setRequestID
protected ResultCode resultCode
protected String errorMessage
protected String matchedDN
public ResultCode getResultCode()
ResultCode
public void setResultCode(ResultCode value)
value
- allowed object is
ResultCode
public String getErrorMessage()
String
public void setErrorMessage(String value)
value
- allowed object is
String
public List<String> getReferral()
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
public String getMatchedDN()
String
Copyright © 2018 Open eHealth Foundation. All rights reserved.