Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| OptaPlanner distribution 6.2.0.CR1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.optaplanner.core.api.score.constraint.primint
Class IntConstraintMatch

    java.lang.Object
      org.optaplanner.core.api.score.constraint.ConstraintMatch
          org.optaplanner.core.api.score.constraint.primint.IntConstraintMatch

All Implemented Interfaces:
  Serializable, Comparable<ConstraintMatch>

    public class IntConstraintMatch

extends ConstraintMatch

See Also:
  Serialized Form

Field Summary
`protected int` | `weight`

Fields inherited from class org.optaplanner.core.api.score.constraint.ConstraintMatch
`constraintName, constraintPackage, justificationList, scoreLevel`

Constructor Summary
`IntConstraintMatch(String constraintPackage, String constraintName, int scoreLevel, List<Object> justificationList, int weight)`

Method Summary
`int` | `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 int weight

Constructor Detail

### IntConstraintMatch

    public IntConstraintMatch(String constraintPackage,
                              String constraintName,
                              int scoreLevel,
                              List<Object> justificationList,
                              int weight)

Method Detail

### getWeight

    public int getWeight()

### getWeightAsNumber

    public Number getWeightAsNumber()

  Specified by:
    `getWeightAsNumber` in class `ConstraintMatch`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| OptaPlanner distribution 6.2.0.CR1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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