|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsymplik.flower.Choice
public class Choice
Choice consists of choiceKey and choiceDesc(ription). ChoiceKey is the value used internally to represent a multiple choice; while choiceDesc is the wording showing to the end users. Multiple choice is always shown in a numeric list in the screen. For each Question, the corresponding answer is the choiceKey, which is stored in the Response.xml file for playback use (run in silent operation).
Field Summary | |
---|---|
private java.lang.String |
choiceDesc
|
private java.lang.String |
choiceKey
|
static java.lang.String |
RCS_ID
|
Constructor Summary | |
---|---|
Choice(java.lang.String key,
java.lang.String desc)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getChoiceDesc()
ChoiceDesc(ription) Getting method |
java.lang.String |
getChoiceKey()
ChoiceKey Getter method |
void |
setChoiceDesc(java.lang.String choiceDesc)
ChoiceDesc(ription) Setting method |
void |
setChoiceKey(java.lang.String choiceKey)
ChoiceKey Setter method |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String RCS_ID
private java.lang.String choiceDesc
private java.lang.String choiceKey
Constructor Detail |
---|
public Choice(java.lang.String key, java.lang.String desc)
Choice
- KeyChoice
- DescriptionMethod Detail |
---|
public void setChoiceKey(java.lang.String choiceKey)
choiceKey
- public java.lang.String getChoiceKey()
public void setChoiceDesc(java.lang.String choiceDesc)
choiceDesc
- public java.lang.String getChoiceDesc()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |