public class SortKey extends Object
| Modifier and Type | Field and Description |
|---|---|
private String |
attributeTypeDesc
The name/OID of AttributeType we want to use as a key for the sort
|
private String |
matchingRuleId
The matching rule to use to order the result
|
private boolean |
reverseOrder
A flag to set to true to get the result in reverse order.
|
| Constructor and Description |
|---|
SortKey(String attributeTypeDesc)
Create a new instance of a SortKey for a give AttributeType
|
SortKey(String attributeTypeDesc,
String matchingRuleId)
Create a new instance of a SortKey for a give AttributeType
|
SortKey(String attributeTypeDesc,
String matchingRuleId,
boolean reverseOrder)
Create a new instance of a SortKey for a give AttributeType
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAttributeTypeDesc() |
String |
getMatchingRuleId() |
boolean |
isReverseOrder() |
void |
setAttributeTypeDesc(String attributeTypeDesc) |
void |
setMatchingRuleId(String matchingRuleId) |
void |
setReverseOrder(boolean reverseOrder) |
String |
toString() |
private String attributeTypeDesc
private String matchingRuleId
private boolean reverseOrder
public SortKey(String attributeTypeDesc)
attributeTypeDesc - The AttributeType's name or OID to usepublic SortKey(String attributeTypeDesc, String matchingRuleId)
attributeTypeDesc - The AttributeType's name or OID to usematchingRuleId - The MatchingRule to usepublic String getAttributeTypeDesc()
public void setAttributeTypeDesc(String attributeTypeDesc)
attributeTypeDesc - the attributeType to setpublic String getMatchingRuleId()
public void setMatchingRuleId(String matchingRuleId)
matchingRuleId - the matchingRuleId to setpublic boolean isReverseOrder()
public void setReverseOrder(boolean reverseOrder)
reverseOrder - the reverseOrder to setpublic String toString()
toString in class ObjectString.toString()Copyright © 2003–2022 The Apache Software Foundation. All rights reserved.