public class AdjacencyPair extends Object implements Serializable
Constructor and Description |
---|
AdjacencyPair()
Constructor.
|
AdjacencyPair(String category,
String firstTurn,
String[] secondTurns)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object value) |
String |
getCategory()
Returns the category.
|
String |
getFirstTurn()
Returns the utterance.
|
String[] |
getSecondTurns()
Returns an array of responses to an utterance.
|
int |
hashCode() |
void |
setCategory(String category)
Sets the category.
|
void |
setFirstTurn(String firstTurn)
Sets the utterance.
|
void |
setSecondTurns(String[] secondTurns)
It sets the response array.
|
String |
toString() |
public String getCategory()
public void setCategory(String category)
category
- Categorypublic String getFirstTurn()
public void setFirstTurn(String firstTurn)
firstTurn
- Utterancepublic String[] getSecondTurns()
public void setSecondTurns(String[] secondTurns)
secondTurns
- Array of responses