|
||||||||||
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. |
DN |
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(DN 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 InternalLdapResult
public void setErrorMessage(java.lang.String errorMessage)
setErrorMessage
in interface InternalLdapResult
errorMessage
- the descriptive error message.public DN getMatchedDn()
getMatchedDn
in interface InternalLdapResult
public void setMatchedDn(DN matchedDn)
setMatchedDn
in interface InternalLdapResult
matchedDn
- the Dn of the lowest matched entry.getMatchedDn()
public ResultCodeEnum getResultCode()
getResultCode
in interface InternalLdapResult
public void setResultCode(ResultCodeEnum resultCode)
setResultCode
in interface InternalLdapResult
resultCode
- the result code enum value.public InternalReferral getReferral()
getReferral
in interface InternalLdapResult
public boolean isReferral()
isReferral
in interface InternalLdapResult
public void setReferral(InternalReferral referral)
setReferral
in interface InternalLdapResult
referral
- optional referral on REFERRAL errors.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- 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 |