OptaPlanner core 6.2.0.Beta1

org.optaplanner.core.api.score.constraint.bigdecimal
Class BigDecimalConstraintMatch

java.lang.Object
  extended by org.optaplanner.core.api.score.constraint.ConstraintMatch
      extended by org.optaplanner.core.api.score.constraint.bigdecimal.BigDecimalConstraintMatch
All Implemented Interfaces:
Serializable, Comparable<ConstraintMatch>

public class BigDecimalConstraintMatch
extends ConstraintMatch

See Also:
Serialized Form

Field Summary
protected  BigDecimal weight
           
 
Fields inherited from class org.optaplanner.core.api.score.constraint.ConstraintMatch
constraintName, constraintPackage, justificationList, scoreLevel
 
Constructor Summary
BigDecimalConstraintMatch(String constraintPackage, String constraintName, int scoreLevel, List<Object> justificationList, BigDecimal weight)
           
 
Method Summary
 BigDecimal getWeight()
           
 Number getWeightAsNumber()
           
 
Methods inherited from class org.optaplanner.core.api.score.constraint.ConstraintMatch
compareTo, getConstraintName, getConstraintPackage, getIdentificationString, getJustificationList, getScoreLevel, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

weight

protected final BigDecimal weight
Constructor Detail

BigDecimalConstraintMatch

public BigDecimalConstraintMatch(String constraintPackage,
                                 String constraintName,
                                 int scoreLevel,
                                 List<Object> justificationList,
                                 BigDecimal weight)
Method Detail

getWeight

public BigDecimal getWeight()

getWeightAsNumber

public Number getWeightAsNumber()
Specified by:
getWeightAsNumber in class ConstraintMatch

OptaPlanner core 6.2.0.Beta1

Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.