|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectname.angoca.db2sa.core.syntax.GraphAnswer
public final class GraphAnswer
Represents the answer of a given command. An answer is the phrase completed
or the possible options of the current phrase.
Control Version
| Constructor Summary | |
|---|---|
GraphAnswer(List<Token> phrases,
List<Token> options)
Constructor that associates the phrase and the possible options. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object object)
|
List<Token> |
getOptions()
Returns the set of options of the current position. |
List<Token> |
getPhrases()
Returns the set of phrases of the command. |
int |
hashCode()
|
String |
toString()
Returns a string representation of a graph answer. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GraphAnswer(List<Token> phrases,
List<Token> options)
phrases - phrase completed (could be the same that the user wrote.)options - Possible options (0..n)| Method Detail |
|---|
public boolean equals(Object object)
equals in class Objectpublic List<Token> getOptions()
public List<Token> getPhrases()
public int hashCode()
hashCode in class Objectpublic String toString()
toString in class ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
