|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.shared.ldap.message.InternalAbstractMessage
org.apache.directory.shared.ldap.message.InternalAbstractRequest
org.apache.directory.shared.ldap.message.AbstractAbandonableRequest
org.apache.directory.shared.ldap.message.CompareRequestImpl
public class CompareRequestImpl
Comparison request implementation.
| Field Summary |
|---|
| Fields inherited from interface org.apache.directory.shared.ldap.message.InternalCompareRequest |
|---|
RESP_TYPE, TYPE |
| Constructor Summary | |
|---|---|
CompareRequestImpl(int id)
Creates an CompareRequest implementation to compare a named entry with an attribute value assertion pair. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Checks to see if an object is equivalent to this CompareRequest. |
Value<?> |
getAssertionValue()
Gets the attribute value to use in making the comparison. |
java.lang.String |
getAttributeId()
Gets the attribute id use in making the comparison. |
LdapDN |
getName()
Gets the distinguished name of the entry to be compared using the attribute value assertion. |
MessageTypeEnum |
getResponseType()
Gets the protocol response message type for this request which produces at least one response. |
InternalResultResponse |
getResultResponse()
The result containing response for this request. |
void |
setAssertionValue(byte[] attrVal)
Sets the attribute value to use in the comparison. |
void |
setAssertionValue(java.lang.String attrVal)
Sets the attribute value to use in the comparison. |
void |
setAttributeId(java.lang.String attrId)
Sets the attribute id used in the comparison. |
void |
setName(LdapDN name)
Sets the distinguished name of the entry to be compared using the attribute value assertion. |
java.lang.String |
toString()
Get a String representation of a Compare Request |
| Methods inherited from class org.apache.directory.shared.ldap.message.AbstractAbandonableRequest |
|---|
abandon, addAbandonListener, isAbandoned |
| Methods inherited from class org.apache.directory.shared.ldap.message.InternalAbstractRequest |
|---|
hashCode, hasResponse |
| Methods inherited from class org.apache.directory.shared.ldap.message.InternalAbstractMessage |
|---|
add, addAll, get, getControls, getMessageId, getType, hasControl, put, remove |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.directory.shared.ldap.message.InternalRequest |
|---|
hasResponse |
| Methods inherited from interface org.apache.directory.shared.ldap.message.InternalMessage |
|---|
add, addAll, get, getControls, getMessageId, getType, hasControl, put, remove |
| Methods inherited from interface org.apache.directory.shared.ldap.message.InternalAbandonableRequest |
|---|
abandon, addAbandonListener, isAbandoned |
| Constructor Detail |
|---|
public CompareRequestImpl(int id)
id - the sequence identifier of the CompareRequest message.| Method Detail |
|---|
public LdapDN getName()
getName in interface InternalCompareRequestpublic void setName(LdapDN name)
setName in interface InternalCompareRequestname - the DN of the compared entry.public Value<?> getAssertionValue()
getAssertionValue in interface InternalCompareRequestpublic void setAssertionValue(java.lang.String attrVal)
setAssertionValue in interface InternalCompareRequestattrVal - the attribute value used in comparison.public void setAssertionValue(byte[] attrVal)
setAssertionValue in interface InternalCompareRequestattrVal - the attribute value used in comparison.public java.lang.String getAttributeId()
getAttributeId in interface InternalCompareRequestpublic void setAttributeId(java.lang.String attrId)
setAttributeId in interface InternalCompareRequestattrId - the attribute id used in comparison.public MessageTypeEnum getResponseType()
getResponseType in interface SingleReplyRequestpublic InternalResultResponse getResultResponse()
getResultResponse in interface InternalResultResponseRequestpublic boolean equals(java.lang.Object obj)
equals in class InternalAbstractMessageobj - the obj to compare with this CompareRequest
public 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 | |||||||||