Class SortRequestImpl
java.lang.Object
org.apache.directory.api.ldap.model.message.controls.AbstractControl
org.apache.directory.api.ldap.model.message.controls.SortRequestImpl
- All Implemented Interfaces:
Control, SortRequest
Implementation of SortRequestControl.
- Author:
- Apache Directory Project
-
Field Summary
Fields inherited from interface SortRequest
OID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSortKey(SortKey skey) adds a sort keybooleaninthashCode()voidsetSortKeys(List<SortKey> sortKeys) sets the sort keystoString()Return a String representing a ControlMethods inherited from class AbstractControl
getOid, isCritical, setCriticalMethods inherited from interface Control
getOid, isCritical, setCritical
-
Constructor Details
-
SortRequestImpl
public SortRequestImpl()Creates a new SortRequestControlImpl instance
-
-
Method Details
-
getSortKeys
- Specified by:
getSortKeysin interfaceSortRequest- Returns:
- the sortKeys
-
setSortKeys
Description copied from interface:SortRequestsets the sort keys- Specified by:
setSortKeysin interfaceSortRequest- Parameters:
sortKeys- the sortKeys to set
-
addSortKey
adds a sort key- Specified by:
addSortKeyin interfaceSortRequest- Parameters:
skey- The list of keys to be sorted
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractControl- See Also:
-
equals
- Overrides:
equalsin classAbstractControl- See Also:
-
toString
Return a String representing a Control- Overrides:
toStringin classAbstractControl
-