|
||||||||||
| 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
public class 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. |
LdapDN |
getMatchedDn()
Gets the lowest entry in the directory that was matched. |
InternalReferral |
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(LdapDN matchedDn)
Sets the lowest entry in the directory that was matched. |
void |
setReferral(InternalReferral 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 InternalLdapResultpublic void setErrorMessage(java.lang.String errorMessage)
setErrorMessage in interface InternalLdapResulterrorMessage - the descriptive error message.public LdapDN getMatchedDn()
getMatchedDn in interface InternalLdapResultpublic void setMatchedDn(LdapDN matchedDn)
setMatchedDn in interface InternalLdapResultmatchedDn - the Dn of the lowest matched entry.getMatchedDn()public ResultCodeEnum getResultCode()
getResultCode in interface InternalLdapResultpublic void setResultCode(ResultCodeEnum resultCode)
setResultCode in interface InternalLdapResultresultCode - the result code enum value.public InternalReferral getReferral()
getReferral in interface InternalLdapResultpublic boolean isReferral()
isReferral in interface InternalLdapResultpublic void setReferral(InternalReferral referral)
setReferral in interface InternalLdapResultreferral - optional referral on REFERRAL errors.public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - The object to compare with
true if both objects are equalspublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||