Class MatchScore

java.lang.Object
com.aquima.interactions.matching.result.MatchScore
All Implemented Interfaces:
IMatchScore, Serializable

public class MatchScore extends Object implements IMatchScore
This class contains the match score of a single case.
Since:
6.2
Author:
O. Kerpershoek, F. van der Meer
See Also:
  • Constructor Details

    • MatchScore

      protected MatchScore(String caseId, Object key, int score)
  • Method Details

    • getId

      public String getId()
      Description copied from interface: IMatchScore
      This method returns the ID of the case for which this match score was created.
      Specified by:
      getId in interface IMatchScore
      Returns:
      the ID of the case for which this match score was created.
    • getKey

      public Object getKey()
      Description copied from interface: IMatchScore
      This method returns the key the result was grouped on. This method will only return a value if the key-field filtering was enabled.
      Specified by:
      getKey in interface IMatchScore
      Returns:
      The value of the key that was used in the key-field filtering, or null if it isn't available.
    • getIdHash

      protected int getIdHash()
    • getKeyHash

      protected int getKeyHash()
    • getScore

      public int getScore()
      Description copied from interface: IMatchScore
      This method returns the score of the case.
      Specified by:
      getScore in interface IMatchScore
      Returns:
      The match score of the case.
    • toString

      public String toString()
      Overrides:
      toString in class Object