biz.hammurapi.rules.tutorial.conclusions
Class Relative

java.lang.Object
  extended by biz.hammurapi.rules.Conclusion
      extended by biz.hammurapi.rules.tutorial.conclusions.Relative
All Implemented Interfaces:
biz.hammurapi.rules.Negatable, biz.hammurapi.rules.Supercedable, biz.hammurapi.swing.Visualizable, biz.hammurapi.xml.dom.DomSerializable, java.io.Serializable, java.lang.Comparable
Direct Known Subclasses:
Aunt, CloseRelative, Cousin, Nephew, Niece, Uncle

public class Relative
extends biz.hammurapi.rules.Conclusion
implements java.lang.Comparable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class biz.hammurapi.rules.Conclusion
slots
 
Constructor Summary
Relative(Person subject, Person object)
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 Person getObject()
           
 Person getSubject()
           
 java.lang.String toString()
           
 
Methods inherited from class biz.hammurapi.rules.Conclusion
addDerivation, equals, getCardinality, getDepth, getDerivations, getSlot, hashCode, isDerivedFrom, isNegatedBy, mergeDerivations, object2Negator, setSlot, supercedes, toDom, toTreeNode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Relative

public Relative(Person subject,
                Person object)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class biz.hammurapi.rules.Conclusion

getSubject

public Person getSubject()

getObject

public Person getObject()

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable


Copyright © 2006 Hammurapi Group. All Rights Reserved.