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
public class SortRequestImpl extends AbstractControl implements SortRequest
Implementation of SortRequestControl.- Author:
- Apache Directory Project
-
-
Field Summary
-
Fields inherited from interface org.apache.directory.api.ldap.model.message.controls.SortRequest
OID
-
-
Constructor Summary
Constructors Constructor Description SortRequestImpl()Creates a new SortRequestControlImpl instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddSortKey(SortKey skey)adds a sort keybooleanequals(Object o)List<SortKey>getSortKeys()inthashCode()voidsetSortKeys(List<SortKey> sortKeys)sets the sort keysStringtoString()Return a String representing a Control-
Methods inherited from class org.apache.directory.api.ldap.model.message.controls.AbstractControl
getOid, isCritical, setCritical
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.directory.api.ldap.model.message.Control
getOid, isCritical, setCritical
-
-
-
-
Method Detail
-
getSortKeys
public List<SortKey> getSortKeys()
- Specified by:
getSortKeysin interfaceSortRequest- Returns:
- the sortKeys
-
setSortKeys
public void setSortKeys(List<SortKey> sortKeys)
Description copied from interface:SortRequestsets the sort keys- Specified by:
setSortKeysin interfaceSortRequest- Parameters:
sortKeys- the sortKeys to set
-
addSortKey
public void addSortKey(SortKey skey)
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:
Object.hashCode()
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classAbstractControl- See Also:
Object.equals(Object)
-
toString
public String toString()
Return a String representing a Control- Overrides:
toStringin classAbstractControl
-
-