org.drools.verifier.report.components
Class Incompatibility

java.lang.Object
  extended by org.drools.verifier.report.components.Incompatibility
All Implemented Interfaces:
Cause
Direct Known Subclasses:
Opposites

public class Incompatibility
extends Object
implements Cause

Object type that indicates an incompatibility between two objects. Incompatibility happens when there is no value that would satisfy both objects. Example: A: x > 10 B: x == 100


Constructor Summary
Incompatibility(Cause left, Cause right)
           
 
Method Summary
 Collection<Cause> getCauses()
           
 Cause getLeft()
           
 Cause getRight()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Incompatibility

public Incompatibility(Cause left,
                       Cause right)
Method Detail

getLeft

public Cause getLeft()

getRight

public Cause getRight()

toString

public String toString()
Overrides:
toString in class Object

getCauses

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


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