Class AttributeScoreDetails
java.lang.Object
com.aquima.interactions.matching.result.AttributeScoreDetails
- All Implemented Interfaces:
IAttributeScoreDetails
Class to keep track of details about the score of a multivalue attribute.
- Since:
- 7.1
- Author:
- C. de Meijer
-
Constructor Summary
Constructors -
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.void
setScore
(IMatchValue demand, IMatchValue supply, int score)
-
Constructor Details
-
AttributeScoreDetails
-
-
Method Details
-
getAttributeName
Description copied from interface:IAttributeScoreDetails
Returns the name of the attribute that this instance contains details about.- Specified by:
getAttributeName
in interfaceIAttributeScoreDetails
- Returns:
- The name of the attribute that this instance contains details about.
-
getDemandValues
Description copied from interface:IAttributeScoreDetails
Returns the known demand values.- Specified by:
getDemandValues
in interfaceIAttributeScoreDetails
- Returns:
- the known demand values.
-
getSupplyValues
Description copied from interface:IAttributeScoreDetails
Returns the known demand values.- Specified by:
getSupplyValues
in interfaceIAttributeScoreDetails
- Returns:
- the known demand values.
-
getScore
Description copied from interface:IAttributeScoreDetails
Returns the score for the requested demand/supply values combination.- Specified by:
getScore
in interfaceIAttributeScoreDetails
- 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.
-
setScore
-