org.optaplanner.core.api.score.constraint
Class ConstraintMatch
java.lang.Object
   org.optaplanner.core.api.score.constraint.ConstraintMatch
org.optaplanner.core.api.score.constraint.ConstraintMatch
- All Implemented Interfaces: 
- Serializable, Comparable<ConstraintMatch>
- Direct Known Subclasses: 
- BigDecimalConstraintMatch, DoubleConstraintMatch, IntConstraintMatch, LongConstraintMatch
- public abstract class ConstraintMatch 
- extends Object- implements Serializable, Comparable<ConstraintMatch>
- See Also:
- Serialized Form
 
 
 
 
constraintPackage
protected final String constraintPackage
constraintName
protected final String constraintName
scoreLevel
protected final int scoreLevel
justificationList
protected final List<Object> justificationList
ConstraintMatch
protected ConstraintMatch(String constraintPackage,
                          String constraintName,
                          int scoreLevel,
                          List<Object> justificationList)
getConstraintPackage
public String getConstraintPackage()
- 
 
- 
 
getConstraintName
public String getConstraintName()
- 
 
- 
 
getScoreLevel
public int getScoreLevel()
- 
 
- 
 
getJustificationList
public List<Object> getJustificationList()
- 
 
- 
 
getWeightAsNumber
public abstract Number getWeightAsNumber()
- 
 
- 
 
getIdentificationString
public String getIdentificationString()
- 
 
- 
 
compareTo
public int compareTo(ConstraintMatch other)
- 
- Specified by:
- compareToin interface- Comparable<ConstraintMatch>
 
- 
 
toString
public String toString()
- 
- Overrides:
- toStringin class- Object
 
- 
 
Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.