Package org.machanism.machai.bindex.core
Class BindexInfo
java.lang.Object
org.machanism.machai.bindex.core.BindexInfo
Represents metadata information for a Bindex record, including its
identifier, version, description, and relevance score.
This class is used to encapsulate summary details about a Bindex entry, typically for search, recommendation, or reporting purposes.
- Since:
- 1.2.0
- Author:
- Viktor Tovstyi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the description of the Bindex record.getId()Returns the unique identifier for the Bindex record.doublegetScore()Returns the relevance score associated with the Bindex record.Returns the version string of the Bindex record.voidsetDescription(String description) Sets the description of the Bindex record.voidSets the unique identifier for the Bindex record.voidsetScore(double score) Sets the relevance score associated with the Bindex record.voidsetVersion(String version) Sets the version string of the Bindex record.
-
Constructor Details
-
BindexInfo
public BindexInfo()Creates an empty Bindex metadata summary.
-
-
Method Details
-
getId
Returns the unique identifier for the Bindex record.- Returns:
- the Bindex id
-
setId
Sets the unique identifier for the Bindex record.- Parameters:
id- the Bindex id
-
getVersion
Returns the version string of the Bindex record.- Returns:
- the version
-
setVersion
Sets the version string of the Bindex record.- Parameters:
version- the version
-
getDescription
Returns the description of the Bindex record.- Returns:
- the description
-
setDescription
Sets the description of the Bindex record.- Parameters:
description- the description
-
getScore
public double getScore()Returns the relevance score associated with the Bindex record.- Returns:
- the score
-
setScore
public void setScore(double score) Sets the relevance score associated with the Bindex record.- Parameters:
score- the score
-