org.optaplanner.core.api.score.constraint.bigdecimal
public class BigDecimalConstraintMatch extends ConstraintMatch
Modifier and Type | Field and Description |
---|---|
protected BigDecimalConstraintMatchTotal |
constraintMatchTotal |
protected BigDecimal |
weight |
justificationList
Constructor and Description |
---|
BigDecimalConstraintMatch(BigDecimalConstraintMatchTotal constraintMatchTotal,
List<Object> justificationList,
BigDecimal weight) |
Modifier and Type | Method and Description |
---|---|
BigDecimalConstraintMatchTotal |
getConstraintMatchTotal() |
BigDecimal |
getWeight() |
Number |
getWeightAsNumber() |
compareTo, getJustificationList, toString
protected final BigDecimalConstraintMatchTotal constraintMatchTotal
protected final BigDecimal weight
public BigDecimalConstraintMatch(BigDecimalConstraintMatchTotal constraintMatchTotal, List<Object> justificationList, BigDecimal weight)
public BigDecimalConstraintMatchTotal getConstraintMatchTotal()
getConstraintMatchTotal
in class ConstraintMatch
public BigDecimal getWeight()
public Number getWeightAsNumber()
getWeightAsNumber
in class ConstraintMatch
Copyright © 2006-2013 JBoss by Red Hat. All Rights Reserved.