Class Word.Status

java.lang.Object
  extended byWord.Status
Enclosing class:
Word

class Word.Status
extends java.lang.Object

Status is a subclass of Word. It is needed to save all the infomation of the translation process. The status of analysation, generation and translation is saved here

Author:
Arthur Laub Arthur.Laub@urz.uni-hd.de Project: Kölschifier

Field Summary
private  boolean analysed
           
private  boolean generated
           
private  boolean translated
           
 
Constructor Summary
(package private) Word.Status()
          This constructor initiates all values with "false"
 
Method Summary
 boolean isAnalysed()
           
 boolean isGenerated()
           
private  boolean isTranslated()
           
 void set_Analysed()
          sets "true" for analysation.
 void set_genereted()
          sets "true" for generation.
 void set_mustBeAnalysed()
          This method is not needed at all
private  void set()
          Here every value is set "true" - normally used when a translation is found and no further analysation or generation is necessary.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

analysed

private boolean analysed

generated

private boolean generated

translated

private boolean translated
Constructor Detail

Word.Status

Word.Status()
This constructor initiates all values with "false"

Method Detail

isAnalysed

public boolean isAnalysed()
Returns:
the status of analysation

isGenerated

public boolean isGenerated()
Returns:
the status of generation

isTranslated

private boolean isTranslated()
Returns:
the status of translation

set

private void set()
Here every value is set "true" - normally used when a translation is found and no further analysation or generation is necessary.


set_Analysed

public void set_Analysed()
sets "true" for analysation. Just to make sure that a word won't be analysed again.


set_genereted

public void set_genereted()
sets "true" for generation. Just to make sure, that a word won't be genarated again.


set_mustBeAnalysed

public void set_mustBeAnalysed()
This method is not needed at all