Class SortKey
java.lang.Object
org.apache.directory.api.ldap.model.message.controls.SortKey
Datastructure to store the Attribute name, matching rule ID of the attribute
and the sort order.
and the sort order.
- Author:
- Apache Directory Project
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a new instance of a SortKey for a give AttributeTypeCreate a new instance of a SortKey for a give AttributeTypeCreate a new instance of a SortKey for a give AttributeType -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetAttributeTypeDesc(String attributeTypeDesc) voidsetMatchingRuleId(String matchingRuleId) voidsetReverseOrder(boolean reverseOrder) toString()
-
Constructor Details
-
SortKey
Create a new instance of a SortKey for a give AttributeType- Parameters:
attributeTypeDesc- The AttributeType's name or OID to use
-
SortKey
-
SortKey
-
-
Method Details
-
getAttributeTypeDesc
- Returns:
- the attributeType name or OID
-
setAttributeTypeDesc
- Parameters:
attributeTypeDesc- the attributeType to set
-
getMatchingRuleId
- Returns:
- the matchingRuleId
-
setMatchingRuleId
- Parameters:
matchingRuleId- the matchingRuleId to set
-
isReverseOrder
public boolean isReverseOrder()- Returns:
- the reverseOrder
-
setReverseOrder
public void setReverseOrder(boolean reverseOrder) - Parameters:
reverseOrder- the reverseOrder to set
-
toString
-