org.drools.planner.core.score.constraint
Class IntConstraintOccurrence
java.lang.Object
org.drools.planner.core.score.constraint.ConstraintOccurrence
org.drools.planner.core.score.constraint.IntConstraintOccurrence
- All Implemented Interfaces:
- Serializable, Comparable<ConstraintOccurrence>
public class IntConstraintOccurrence
- extends ConstraintOccurrence
- See Also:
- Serialized Form
Field Summary |
protected int |
weight
|
weight
protected int weight
IntConstraintOccurrence
public IntConstraintOccurrence(String ruleId,
Object... causes)
IntConstraintOccurrence
public IntConstraintOccurrence(String ruleId,
ConstraintType constraintType,
Object... causes)
IntConstraintOccurrence
public IntConstraintOccurrence(String ruleId,
int weight,
Object... causes)
IntConstraintOccurrence
public IntConstraintOccurrence(String ruleId,
ConstraintType constraintType,
int weight,
Object... causes)
getWeight
public int getWeight()
equals
public boolean equals(Object o)
- Overrides:
equals
in class ConstraintOccurrence
hashCode
public int hashCode()
- Overrides:
hashCode
in class ConstraintOccurrence
toString
public String toString()
- Overrides:
toString
in class ConstraintOccurrence
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.