|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ch.uzh.ifi.attempto.base.SimpleConcreteOption
public class SimpleConcreteOption
This is a simple implementation of a concrete option.
Constructor Summary | |
---|---|
SimpleConcreteOption(java.lang.String word)
Creates a new concrete option for the given word, without a category. |
|
SimpleConcreteOption(java.lang.String word,
java.lang.String categoryName)
Creates a new concrete option for the given word and category name. |
Method Summary | |
---|---|
java.lang.String |
getCategoryName()
Returns the name of the category of this concrete option, or null if there is no such category. |
java.lang.String |
getWord()
Returns the word of this concrete option. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleConcreteOption(java.lang.String word, java.lang.String categoryName)
word
- The word.categoryName
- The category name.public SimpleConcreteOption(java.lang.String word)
word
- The word.Method Detail |
---|
public java.lang.String getWord()
ConcreteOption
getWord
in interface ConcreteOption
public java.lang.String getCategoryName()
ConcreteOption
getCategoryName
in interface ConcreteOption
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |