Class SortResponseImpl
java.lang.Object
org.apache.directory.api.ldap.model.message.controls.AbstractControl
org.apache.directory.api.ldap.model.message.controls.SortResponseImpl
- All Implemented Interfaces:
Control, SortResponse
Implementation of SortResponseControl.
- Author:
- Apache Directory Project
-
Field Summary
Fields inherited from interface SortResponse
OID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()voidsetAttributeName(String attributeName) Sets the name of the first offending attributevoidsetSortResult(SortResultCode result) sets the sort resulttoString()Return a String representing a ControlMethods inherited from class AbstractControl
getOid, isCritical, setCriticalMethods inherited from interface Control
getOid, isCritical, setCritical
-
Constructor Details
-
SortResponseImpl
public SortResponseImpl()Creates a new SortResponseControlImpl instance
-
-
Method Details
-
setSortResult
sets the sort result- Specified by:
setSortResultin interfaceSortResponse- Parameters:
result- The sort result code
-
getSortResult
- Specified by:
getSortResultin interfaceSortResponse- Returns:
- the sort result
-
setAttributeName
Sets the name of the first offending attribute- Specified by:
setAttributeNamein interfaceSortResponse- Parameters:
attributeName- The attribute's name
-
getAttributeName
- Specified by:
getAttributeNamein interfaceSortResponse- Returns:
- the name of the first offending attribute
-
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
-