org.drools.verifier.report.components
Class Gap

java.lang.Object
  extended by org.drools.verifier.report.components.MissingRange
      extended by org.drools.verifier.report.components.Gap
All Implemented Interfaces:
Comparable<MissingRange>, Cause, Reason

public class Gap
extends MissingRange
implements Comparable<MissingRange>


Field Summary
 
Fields inherited from class org.drools.verifier.report.components.MissingRange
field, guid, operator
 
Constructor Summary
Gap(Field field, Operator operator, LiteralRestriction restriction)
           
 
Method Summary
 int compareTo(MissingRange another)
           
 Collection<Cause> getCauses()
           
 LiteralRestriction getRestriction()
           
 String getRuleName()
           
 String getValueAsString()
           
 String toString()
           
 
Methods inherited from class org.drools.verifier.report.components.MissingRange
getField, getGuid, getOperator, getReasonType, getReversedOperator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Gap

public Gap(Field field,
           Operator operator,
           LiteralRestriction restriction)
Parameters:
field - Field from where the value is missing.
evaluator - Evaluator for the missing value.
cause - The restriction that the gap begins from.
Method Detail

compareTo

public int compareTo(MissingRange another)
Specified by:
compareTo in interface Comparable<MissingRange>
Overrides:
compareTo in class MissingRange

getRuleName

public String getRuleName()

getRestriction

public LiteralRestriction getRestriction()

getValueAsString

public String getValueAsString()
Specified by:
getValueAsString in class MissingRange

toString

public String toString()
Overrides:
toString in class Object

getCauses

public Collection<Cause> getCauses()
Specified by:
getCauses in interface Cause
Specified by:
getCauses in interface Reason


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.