|
Fido Alpha 3.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fido.linguistic.Frame
The Frame class holds the transaction id the system will process, the mood of the current input, and a map of all noun object ids.
The system designer may use any name for the frame slot in the map. There are some common concepts at Frame Concepts.
Field Summary | |
static int |
COMMAND
Value for setMood(int) |
static int |
INFORMATION
Value for setMood(int) |
static int |
QUESTION
Value for setMood(int) |
Constructor Summary | |
Frame()
Creates a new empty Frame instance. |
Method Summary | |
void |
clearFrame()
|
java.lang.Object |
clone()
|
int |
getFrameSlot(java.lang.String slot)
|
int |
getMood()
|
int |
getTransaction()
|
java.util.Collection |
listFrameSlots()
|
void |
setFrameSlot(java.lang.String slot,
int value)
|
void |
setMood(int mood)
|
void |
setTransaction(int transaction)
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int COMMAND
public static final int QUESTION
public static final int INFORMATION
Constructor Detail |
public Frame()
Method Detail |
public void clearFrame()
public int getTransaction()
public void setTransaction(int transaction)
public int getMood()
public void setMood(int mood)
public java.util.Collection listFrameSlots()
public void setFrameSlot(java.lang.String slot, int value)
public int getFrameSlot(java.lang.String slot)
public java.lang.Object clone()
clone
in class java.lang.Object
|
Fido Alpha 3.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |