|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jndi.ldap.ctl.SortKey
public class SortKey
This class implements a sort key which is used by the LDAPv3 Control for server side sorting of search results as defined in RFC-2891.
Field Summary | |
---|---|
private java.lang.String |
attrID
|
private java.lang.String |
matchingRuleID
|
private boolean |
reverseOrder
|
Constructor Summary | |
---|---|
SortKey(java.lang.String attrID)
Constructs a new instance of SortKey. |
|
SortKey(java.lang.String attrID,
boolean ascendingOrder,
java.lang.String matchingRuleID)
Constructs a new instance of SortKey. |
Method Summary | |
---|---|
java.lang.String |
getAttributeID()
Retrieves the attribute ID of the sort key. |
java.lang.String |
getMatchingRuleID()
Retrieves the matching rule ID used to order the attribute values. |
boolean |
isAscending()
Determines the sort order. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.lang.String attrID
private boolean reverseOrder
private java.lang.String matchingRuleID
Constructor Detail |
---|
public SortKey(java.lang.String attrID)
attrID
- The ID of the attribute to be used as a sort key.public SortKey(java.lang.String attrID, boolean ascendingOrder, java.lang.String matchingRuleID)
attrID
- The ID of the attribute to be used as a sort
key.ascendingOrder
- If true then entries are arranged in ascending
order. Otherwise there are in descending order.matchingRule
- The possibly null ID of the matching rule to
use to order the attribute values. If not
specified then the ordering matching rule
defined for the sort key attribute, is used.Method Detail |
---|
public java.lang.String getAttributeID()
public boolean isAscending()
public java.lang.String getMatchingRuleID()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |