|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.shared.ldap.message.LdapResultImpl
LdapResult implementation.
Constructor Summary | |
LdapResultImpl()
|
Method Summary | |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getErrorMessage()
Gets the descriptive error message associated with the error code. |
java.lang.String |
getMatchedDn()
Gets the lowest entry in the directory that was matched. |
Referral |
getReferral()
Gets the Referral associated with this LdapResult if the resultCode property is set to the REFERRAL ResultCodeEnum. |
ResultCodeEnum |
getResultCode()
Gets the result code enumeration associated with the response. |
boolean |
isReferral()
Gets whether or not this result represents a Referral. |
void |
setErrorMessage(java.lang.String errorMessage)
Sets the descriptive error message associated with the error code. |
void |
setMatchedDn(java.lang.String matchedDn)
Sets the lowest entry in the directory that was matched. |
void |
setReferral(Referral referral)
Sets the Referral associated with this LdapResult if the resultCode property is set to the REFERRAL ResultCodeEnum. |
void |
setResultCode(ResultCodeEnum resultCode)
Sets the result code enumeration associated with the response. |
java.lang.String |
toString()
Get a String representation of a LdapResult |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public LdapResultImpl()
Method Detail |
public java.lang.String getErrorMessage()
getErrorMessage
in interface LdapResult
public void setErrorMessage(java.lang.String errorMessage)
setErrorMessage
in interface LdapResult
errorMessage
- the descriptive error message.public java.lang.String getMatchedDn()
getMatchedDn
in interface LdapResult
public void setMatchedDn(java.lang.String matchedDn)
setMatchedDn
in interface LdapResult
matchedDn
- the Dn of the lowest matched entry.getMatchedDn()
public ResultCodeEnum getResultCode()
getResultCode
in interface LdapResult
public void setResultCode(ResultCodeEnum resultCode)
setResultCode
in interface LdapResult
resultCode
- the result code enum value.public Referral getReferral()
getReferral
in interface LdapResult
public boolean isReferral()
isReferral
in interface LdapResult
public void setReferral(Referral referral)
setReferral
in interface LdapResult
referral
- optional referral on REFERRAL errors.public boolean equals(java.lang.Object obj)
obj
-
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |