Package io.goobi.viewer.model.archives
Record Class ArchiveParser.UnparsedNodeSearchResult
java.lang.Object
java.lang.Record
io.goobi.viewer.model.archives.ArchiveParser.UnparsedNodeSearchResult
- Record Components:
nodesLoaded- true if new nodes were loaded into the treeincomplete- true if the search was too broad to load all matching nodes
- Enclosing class:
ArchiveParser
public static record ArchiveParser.UnparsedNodeSearchResult(boolean nodesLoaded, boolean incomplete)
extends Record
Result of a search in archive nodes that are not yet loaded.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ArchiveParser.UnparsedNodeSearchResultResult for a search that loaded nothing and is not incomplete. -
Constructor Summary
ConstructorsConstructorDescriptionUnparsedNodeSearchResult(boolean nodesLoaded, boolean incomplete) Creates an instance of aUnparsedNodeSearchResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theincompleterecord component.booleanReturns the value of thenodesLoadedrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
NONE
Result for a search that loaded nothing and is not incomplete.
-
-
Constructor Details
-
UnparsedNodeSearchResult
public UnparsedNodeSearchResult(boolean nodesLoaded, boolean incomplete) Creates an instance of aUnparsedNodeSearchResultrecord class.- Parameters:
nodesLoaded- the value for thenodesLoadedrecord componentincomplete- the value for theincompleterecord component
-
-
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 with '=='. -
nodesLoaded
public boolean nodesLoaded()Returns the value of thenodesLoadedrecord component.- Returns:
- the value of the
nodesLoadedrecord component
-
incomplete
public boolean incomplete()Returns the value of theincompleterecord component.- Returns:
- the value of the
incompleterecord component
-