|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.shared.ldap.message.AbstractMessage
org.apache.directory.shared.ldap.message.AbstractRequest
org.apache.directory.shared.ldap.message.AbstractAbandonableRequest
org.apache.directory.shared.ldap.message.CompareRequestImpl
Lockable comparison request implementation.
Field Summary |
Fields inherited from interface org.apache.directory.shared.ldap.message.CompareRequest |
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. |
byte[] |
getAssertionValue()
Gets the attribute value to use in making the comparison. |
java.lang.String |
getAttributeId()
Gets the attribute id use in making the comparison. |
java.lang.String |
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. |
ResultResponse |
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(java.lang.String 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.AbstractRequest |
hasResponse |
Methods inherited from class org.apache.directory.shared.ldap.message.AbstractMessage |
add, get, getControls, getMessageId, getType, put, remove |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.directory.shared.ldap.message.Request |
hasResponse |
Methods inherited from interface org.apache.directory.shared.ldap.message.Message |
add, get, getControls, getMessageId, getType, put, remove |
Methods inherited from interface org.apache.directory.shared.ldap.message.AbandonableRequest |
abandon, addAbandonListener, isAbandoned |
Constructor Detail |
public CompareRequestImpl(int id)
id
- the sequence identifier of the CompareRequest message.Method Detail |
public java.lang.String getName()
getName
in interface CompareRequest
public void setName(java.lang.String name)
setName
in interface CompareRequest
name
- the DN of the compared entry.public byte[] getAssertionValue()
getAssertionValue
in interface CompareRequest
public void setAssertionValue(java.lang.String attrVal)
setAssertionValue
in interface CompareRequest
attrVal
- the attribute value used in comparison.public void setAssertionValue(byte[] attrVal)
setAssertionValue
in interface CompareRequest
attrVal
- the attribute value used in comparison.public java.lang.String getAttributeId()
getAttributeId
in interface CompareRequest
public void setAttributeId(java.lang.String attrId)
setAttributeId
in interface CompareRequest
attrId
- the attribute id used in comparison.public MessageTypeEnum getResponseType()
getResponseType
in interface SingleReplyRequest
public ResultResponse getResultResponse()
getResultResponse
in interface ResultResponseRequest
public boolean equals(java.lang.Object obj)
equals
in class AbstractMessage
obj
- the obj to compare with this CompareRequest
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |