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
public class SortResponseImpl extends AbstractControl implements SortResponse
Implementation of SortResponseControl.- Author:
- Apache Directory Project
-
-
Field Summary
-
Fields inherited from interface org.apache.directory.api.ldap.model.message.controls.SortResponse
OID
-
-
Constructor Summary
Constructors Constructor Description SortResponseImpl()Creates a new SortResponseControlImpl instance
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetAttributeName()SortResultCodegetSortResult()inthashCode()voidsetAttributeName(String attributeName)Sets the name of the first offending attributevoidsetSortResult(SortResultCode result)sets the sort resultStringtoString()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
-
setSortResult
public void setSortResult(SortResultCode result)
sets the sort result- Specified by:
setSortResultin interfaceSortResponse- Parameters:
result- The sort result code
-
getSortResult
public SortResultCode getSortResult()
- Specified by:
getSortResultin interfaceSortResponse- Returns:
- the sort result
-
setAttributeName
public void setAttributeName(String attributeName)
Sets the name of the first offending attribute- Specified by:
setAttributeNamein interfaceSortResponse- Parameters:
attributeName- The attribute's name
-
getAttributeName
public String getAttributeName()
- Specified by:
getAttributeNamein interfaceSortResponse- Returns:
- the name of the first offending attribute
-
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
-
-