org.drools.planner.core.score.constraint
Class LongConstraintOccurrence
java.lang.Object
  
org.drools.planner.core.score.constraint.ConstraintOccurrence
      
org.drools.planner.core.score.constraint.LongConstraintOccurrence
- All Implemented Interfaces: 
 - Serializable, Comparable<ConstraintOccurrence>
 
public class LongConstraintOccurrence
- extends ConstraintOccurrence
 
- See Also:
 - Serialized Form
 
| 
Field Summary | 
protected  long | 
weight
 
            | 
 
 
 
 
 
 
weight
protected long weight
LongConstraintOccurrence
public LongConstraintOccurrence(String ruleId,
                                Object... causes)
LongConstraintOccurrence
public LongConstraintOccurrence(String ruleId,
                                ConstraintType constraintType,
                                Object... causes)
LongConstraintOccurrence
public LongConstraintOccurrence(String ruleId,
                                long weight,
                                Object... causes)
LongConstraintOccurrence
public LongConstraintOccurrence(String ruleId,
                                ConstraintType constraintType,
                                long weight,
                                Object... causes)
getWeight
public long 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.