Package com.aquima.interactions.matching
Interface IAttributeScoreDetails
- All Known Implementing Classes:
AttributeScoreDetails
public interface IAttributeScoreDetails
Interface for basic information used to compute the score for a multivalue attribute.
- Since:
- 7.1
- Author:
- C. de Meijer
-
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the attribute that this instance contains details about.Returns the known demand values.int
getScore
(IMatchValue demand, IMatchValue supply) Returns the score for the requested demand/supply values combination.Returns the known demand values.
-
Method Details
-
getAttributeName
String getAttributeName()Returns the name of the attribute that this instance contains details about.- Returns:
- The name of the attribute that this instance contains details about.
-
getDemandValues
IMatchValue[] getDemandValues()Returns the known demand values.- Returns:
- the known demand values.
-
getSupplyValues
IMatchValue[] getSupplyValues()Returns the known demand values.- Returns:
- the known demand values.
-
getScore
Returns the score for the requested demand/supply values combination.- Parameters:
demand
- IMatchValue object indicating a demand value used in the detail match.supply
- IMatchValue object indicating a supply value used in the detail match.- Returns:
- integer value (percentage) indicating the score for the requested demand/supply values combination.
-