org.vizzini.ui.ai.logic
Class ComplexSentenceWrapper

java.lang.Object
  extended by org.vizzini.ui.ai.logic.AbstractSentenceWrapper
      extended by org.vizzini.ui.ai.logic.ComplexSentenceWrapper
All Implemented Interfaces:
ISentenceWrapper

public class ComplexSentenceWrapper
extends AbstractSentenceWrapper

Provides a wrapper for complex sentences 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

Constructor Summary
ComplexSentenceWrapper(IComplexSentence sentence)
          Construct this object with the given parameter.
 
Method Summary
 String toString()
          Return a string representation of this object.
 
Methods inherited from class org.vizzini.ui.ai.logic.AbstractSentenceWrapper
equals, getMaxLength, getSentence, setMaxLength, setSentence, truncate
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ComplexSentenceWrapper

public ComplexSentenceWrapper(IComplexSentence sentence)
Construct this object with the given parameter.

Parameters:
sentence - Sentence.
Since:
v0.2
Method Detail

toString

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

Specified by:
toString in interface ISentenceWrapper
Overrides:
toString in class AbstractSentenceWrapper
Since:
v0.2


Copyright 2007 Vizzini.org. All Rights Reserved. 2007.12.25.03.00.02