Record Class SearchResultReference
java.lang.Object
java.lang.Record
org.forgerock.opendj.ldap.messages.SearchResultReference
- Record Components:
uris
- theList
containing the continuation reference URIs included with this search result reference. The returnedList
may be modified if permitted by this search result reference.controls
- theList
containing 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 thecontrols
record component.final boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.uris()
Returns the value of theuris
record component.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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 theuris
record component.- Returns:
- the value of the
uris
record component
-
controls
Returns the value of thecontrols
record component.- Specified by:
controls
in interfaceProtocolOp
- Returns:
- the value of the
controls
record component
-