Package org.apache.unomi.api.segments
Class ScoringElement
- java.lang.Object
-
- org.apache.unomi.api.segments.ScoringElement
-
- All Implemented Interfaces:
Serializable
public class ScoringElement extends Object implements Serializable
A scoring dimension along profiles can be evaluated and associated value to be assigned.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ScoringElement()
Instantiates a new Scoring element.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Condition
getCondition()
Retrieves the condition.int
getValue()
Retrieves the value.void
setCondition(Condition condition)
Sets the condition.void
setValue(int value)
Sets the value.
-
-
-
Method Detail
-
getCondition
public Condition getCondition()
Retrieves the condition.- Returns:
- the condition
-
setCondition
public void setCondition(Condition condition)
Sets the condition.- Parameters:
condition
- the condition
-
getValue
public int getValue()
Retrieves the value.- Returns:
- the value
-
setValue
public void setValue(int value)
Sets the value.- Parameters:
value
- the value
-
-