|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.shared.ldap.message.internal.InternalAbstractMessage
org.apache.directory.shared.ldap.message.internal.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.internal.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. |
DN |
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(DN 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.internal.InternalAbstractRequest |
---|
hashCode, hasResponse |
Methods inherited from class org.apache.directory.shared.ldap.message.internal.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.internal.InternalRequest |
---|
hasResponse |
Methods inherited from interface org.apache.directory.shared.ldap.message.internal.InternalMessage |
---|
add, addAll, get, getControls, getMessageId, getType, hasControl, put, remove |
Methods inherited from interface org.apache.directory.shared.ldap.message.internal.InternalAbandonableRequest |
---|
abandon, addAbandonListener, isAbandoned |
Constructor Detail |
---|
public CompareRequestImpl(int id)
id
- the sequence identifier of the CompareRequest message.Method Detail |
---|
public DN getName()
getName
in interface InternalCompareRequest
public void setName(DN name)
setName
in interface InternalCompareRequest
name
- the DN of the compared entry.public Value<?> getAssertionValue()
getAssertionValue
in interface InternalCompareRequest
public void setAssertionValue(java.lang.String attrVal)
setAssertionValue
in interface InternalCompareRequest
attrVal
- the attribute value used in comparison.public void setAssertionValue(byte[] attrVal)
setAssertionValue
in interface InternalCompareRequest
attrVal
- the attribute value used in comparison.public java.lang.String getAttributeId()
getAttributeId
in interface InternalCompareRequest
public void setAttributeId(java.lang.String attrId)
setAttributeId
in interface InternalCompareRequest
attrId
- the attribute id used in comparison.public MessageTypeEnum getResponseType()
getResponseType
in interface SingleReplyRequest
public InternalResultResponse getResultResponse()
getResultResponse
in interface InternalResultResponseRequest
public boolean equals(java.lang.Object obj)
equals
in class InternalAbstractMessage
obj
- 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 |