Class BindexInfo

java.lang.Object
org.machanism.machai.bindex.core.BindexInfo

public class BindexInfo extends Object
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
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private String
    A human-readable description of the Bindex record.
    private String
    The unique identifier for the Bindex record.
    private double
    The relevance score associated with the Bindex record.
    private String
    The version string of the Bindex record.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an empty Bindex metadata summary.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the description of the Bindex record.
    Returns the unique identifier for the Bindex record.
    double
    Returns the relevance score associated with the Bindex record.
    Returns the version string of the Bindex record.
    void
    setDescription(String description)
    Sets the description of the Bindex record.
    void
    Sets the unique identifier for the Bindex record.
    void
    setScore(double score)
    Sets the relevance score associated with the Bindex record.
    void
    setVersion(String version)
    Sets the version string of the Bindex record.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • id

      private String id
      The unique identifier for the Bindex record.
    • version

      private String version
      The version string of the Bindex record.
    • description

      private String description
      A human-readable description of the Bindex record.
    • score

      private double score
      The relevance score associated with the Bindex record.
  • Constructor Details

    • BindexInfo

      public BindexInfo()
      Creates an empty Bindex metadata summary.
  • Method Details

    • getId

      public String getId()
      Returns the unique identifier for the Bindex record.
      Returns:
      the Bindex id
    • setId

      public void setId(String id)
      Sets the unique identifier for the Bindex record.
      Parameters:
      id - the Bindex id
    • getVersion

      public String getVersion()
      Returns the version string of the Bindex record.
      Returns:
      the version
    • setVersion

      public void setVersion(String version)
      Sets the version string of the Bindex record.
      Parameters:
      version - the version
    • getDescription

      public String getDescription()
      Returns the description of the Bindex record.
      Returns:
      the description
    • setDescription

      public void setDescription(String description)
      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