SortControl
Access | Constructor and Description |
---|---|
public | |
public | SortKey(String
The non-null ID of the attribute to be used as
a sort key. attrID, boolean If true then entries are arranged in ascending
order. Otherwise there are arranged in
descending order. ascendingOrder, String 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. matchingRuleID)Creates a sort key for an attribute. |
Modifier and Type | Method and Description |
---|---|
public String | Returns: The non-null Attribute ID of the sort key.Retrieves the attribute ID of the sort key. |
public String | Returns: The possibly null matching rule ID. If null then the ordering matching rule defined for the sort key attribute is used.Retrieves the matching rule ID used to order the attribute values. |
public boolean | Returns: true if the sort order is ascending, false if descending.Determines the sort order. |
attrID | back to summary |
---|---|
private String attrID |
matchingRuleID | back to summary |
---|---|
private String matchingRuleID |
reverseOrder | back to summary |
---|---|
private boolean reverseOrder |
SortKey | back to summary |
---|---|
public SortKey(String attrID) Creates the default sort key for an attribute. Entries will be sorted according to the specified attribute in ascending order using the ordering matching rule defined for use with that attribute.
|
SortKey | back to summary |
---|---|
public SortKey(String attrID, boolean ascendingOrder, String matchingRuleID) Creates a sort key for an attribute. Entries will be sorted according to the specified attribute in the specified sort order and using the specified matching rule, if supplied.
|
getAttributeID | back to summary |
---|---|
public String getAttributeID() Retrieves the attribute ID of the sort key.
|
getMatchingRuleID | back to summary |
---|---|
public String getMatchingRuleID() Retrieves the matching rule ID used to order the attribute values.
|
isAscending | back to summary |
---|---|
public boolean isAscending() Determines the sort order.
|