|
Préférences
Moteurs de recherche
|
|||||||||||||||
JavaTM 2 Platform Std. Ed. v1.6.0
javax.naming.ldap
|
Constructor Summary | |
---|---|
SortKey(String attrID)
Creates the default sort key for an attribute. |
|
SortKey(String attrID,
boolean ascendingOrder,
String matchingRuleID)
Creates a sort key for an attribute. |
Method Summary | |
---|---|
String |
getAttributeID()
Retrieves the attribute ID of the sort key. |
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 |
Constructor Detail |
---|
public SortKey(String attrID)
attrID
- The non-null ID of the attribute to be used as a sort
key.public SortKey(String attrID, boolean ascendingOrder, String matchingRuleID)
attrID
- The non-null ID of the attribute to be used as
a sort key.ascendingOrder
- If true then entries are arranged in ascending
order. Otherwise there are arranged in
descending order.matchingRuleID
- 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 String getAttributeID()
public boolean isAscending()
public String getMatchingRuleID()