public final class ConstraintMatchTotal extends Object implements Serializable, Comparable<ConstraintMatchTotal>
ScoreDirector.getConstraintMatchTotals()
.Constructor and Description |
---|
ConstraintMatchTotal(String constraintPackage,
String constraintName,
Score zeroScore) |
Modifier and Type | Method and Description |
---|---|
ConstraintMatch |
addConstraintMatch(List<Object> justificationList,
Score score) |
int |
compareTo(ConstraintMatchTotal other) |
boolean |
equals(Object o) |
String |
getConstraintId() |
int |
getConstraintMatchCount() |
Set<ConstraintMatch> |
getConstraintMatchSet() |
String |
getConstraintName() |
String |
getConstraintPackage() |
Score |
getScore()
Sum of the
getConstraintMatchSet() 's ConstraintMatch.getScore() . |
Score |
getScoreTotal()
Deprecated.
in favor of
getScore() |
int |
hashCode() |
void |
removeConstraintMatch(ConstraintMatch constraintMatch) |
String |
toString() |
public String getConstraintPackage()
public String getConstraintName()
public Set<ConstraintMatch> getConstraintMatchSet()
public int getConstraintMatchCount()
>= 0
public Score getScore()
getConstraintMatchSet()
's ConstraintMatch.getScore()
.@Deprecated public Score getScoreTotal()
getScore()
public ConstraintMatch addConstraintMatch(List<Object> justificationList, Score score)
public void removeConstraintMatch(ConstraintMatch constraintMatch)
public String getConstraintId()
public int compareTo(ConstraintMatchTotal other)
compareTo
in interface Comparable<ConstraintMatchTotal>
Copyright © 2006–2018 JBoss by Red Hat. All rights reserved.