public class SortKey extends Object
SortControl
| Constructor and Description |
|---|
SortKey(String
Creates the default sort key for an attribute.
|
SortKey(String
Creates a sort key for an attribute.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public SortKey(StringattrID)
attrID - The non-null ID of the attribute to be used as a sort key.
public SortKey(StringattrID, 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.
public StringgetAttributeID()
public boolean isAscending()
public StringgetMatchingRuleID()