public class SortKey extends Object
SortRequestControl to declare how sorting should occur. See RFC 3698 for the definition of
matchingRuleId.| Constructor and Description |
|---|
SortKey()
Default constructor.
|
SortKey(String attrDescription)
Creates a new sort key.
|
SortKey(String attrDescription,
String ruleId)
Creates a new sort key.
|
SortKey(String attrDescription,
String ruleId,
boolean reverse)
Creates a new sort key.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getAttributeDescription()
Returns the attribute description.
|
String |
getMatchingRuleId()
Returns the matching rule id.
|
boolean |
getReverseOrder()
Returns whether results should be in reverse sorted order.
|
int |
hashCode() |
void |
setAttributeDescription(String s)
Sets the attribute description.
|
void |
setMatchingRuleId(String s)
Sets the matching rule id.
|
void |
setReverseOrder(boolean b)
Sets whether results should be in reverse sorted order.
|
String |
toString() |
public SortKey()
public SortKey(String attrDescription)
attrDescription - attribute descriptionpublic SortKey(String attrDescription, String ruleId)
attrDescription - attribute descriptionruleId - matching rule idpublic String getAttributeDescription()
public void setAttributeDescription(String s)
s - attribute descriptionpublic String getMatchingRuleId()
public void setMatchingRuleId(String s)
s - matching rule idpublic boolean getReverseOrder()
public void setReverseOrder(boolean b)
b - whether results should be in reverse sorted orderCopyright © 2023. All rights reserved.