Record Class SearchResultReference
java.lang.Object
java.lang.Record
org.forgerock.opendj.ldap.messages.SearchResultReference
- Record Components:
uris- theListcontaining the continuation reference URIs included with this search result reference. The returnedListmay be modified if permitted by this search result reference.controls- theListcontaining the controls.
- All Implemented Interfaces:
ProtocolOp,Response
public record SearchResultReference(List<String> uris, List<Control> controls)
extends Record
implements Response
A Search Result Reference represents an area not yet explored during a Search operation.
-
Constructor Summary
ConstructorsConstructorDescriptionSearchResultReference(List<String> uris, List<Control> controls) Creates a newSearchResultReference. -
Method Summary
Modifier and TypeMethodDescriptioncontrols()Returns the value of thecontrolsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.uris()Returns the value of theurisrecord component.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.forgerock.opendj.ldap.messages.ProtocolOp
addControl, addControls, containsControl, getControl, getControl, removeControls
-
Constructor Details
-
SearchResultReference
Creates a newSearchResultReference.
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
uris
Returns the value of theurisrecord component.- Returns:
- the value of the
urisrecord component
-
controls
Returns the value of thecontrolsrecord component.- Specified by:
controlsin interfaceProtocolOp- Returns:
- the value of the
controlsrecord component
-