|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.control.SortKey
public class SortKey
Used by SortRequestControl to declare how sorting should occur. See
RFC 3698 for the definition of matchingRuleId.
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SortKey()
public SortKey(String attrDescription)
attrDescription - attribute description
public SortKey(String attrDescription,
String ruleId)
attrDescription - attribute descriptionruleId - matching rule id
public SortKey(String attrDescription,
String ruleId,
boolean reverse)
attrDescription - attribute descriptionruleId - matching rule idreverse - reverse order| Method Detail |
|---|
public 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 orderpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||