|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sourceforge.pavlov.library.AnswerAtom
public class AnswerAtom
One of a set of possible answers to a question.
| Field Summary | |
|---|---|
protected Object |
content
|
protected boolean |
correct
|
| Constructor Summary | |
|---|---|
AnswerAtom(boolean isCorrect,
Object answer)
|
|
| Method Summary | |
|---|---|
Object |
getContent()
Get the Content value. |
boolean |
isCorrect()
Get the Correct value. |
void |
setContent(Object newContent)
Set the Content value. |
void |
setCorrect(boolean newCorrect)
Set the Correct value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected boolean correct
protected Object content
| Constructor Detail |
|---|
public AnswerAtom(boolean isCorrect,
Object answer)
| Method Detail |
|---|
public boolean isCorrect()
public void setCorrect(boolean newCorrect)
newCorrect - The new Correct value.public Object getContent()
public void setContent(Object newContent)
newContent - The new Content value.
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||