Class ShortLexiconDefinition

java.lang.Object
com.tyndalehouse.step.core.models.ShortLexiconDefinition

public class ShortLexiconDefinition extends Object
A very short lexicon definition
  • Constructor Details

    • ShortLexiconDefinition

      public ShortLexiconDefinition()
      for serialisation
    • ShortLexiconDefinition

      public ShortLexiconDefinition(String code, String word)
      Parameters:
      code - the code of the word
      word - the word itself
  • Method Details

    • getCode

      public String getCode()
      Returns:
      the code
    • setCode

      public void setCode(String code)
      Parameters:
      code - the code to set
    • getWord

      public String getWord()
      Returns:
      the word
    • setWord

      public void setWord(String word)
      Parameters:
      word - the word to set