org.vizzini.ui.ai.logic
Interface ISentenceWrapper

All Known Implementing Classes:
AbstractSentenceWrapper, AtomicSentenceWrapper, BinaryAtomicSentenceWrapper, ComplexSentenceWrapper

public interface ISentenceWrapper

Defines methods required by sentence wrappers in the logic system. Wrappers are used to provide a proper display string to the user interface.

Since:
v0.2
Version:
v0.2
Author:
Jeffrey M. Thompson

Method Summary
 boolean equals(Object another)
          Return true if this equals the given object.
 ISentence getSentence()
          Return the sentence wrapped by this object.
 String toString()
          Return a string representation of this object.
 

Method Detail

equals

boolean equals(Object another)
Return true if this equals the given object.

Overrides:
equals in class Object
Parameters:
another - Object to compare.
Since:
v0.2

getSentence

ISentence getSentence()
Return the sentence wrapped by this object.

Since:
v0.2

toString

String toString()
Return a string representation of this object.

Overrides:
toString in class Object
Since:
v0.2


Copyright © 2007 Vizzini.org. All Rights Reserved. 2007.12.25.03.00.02