|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdatabionics.modules.MultipleChoiceElement
public class MultipleChoiceElement
Possible argument for a MultipleChoiceParameter
Field Summary | |
---|---|
protected java.lang.String |
description
parameter description |
protected static org.apache.log4j.Logger |
log
log4j logging |
protected java.lang.String |
value
parameter value |
Constructor Summary | |
---|---|
MultipleChoiceElement()
Default constructor |
Method Summary | |
---|---|
java.lang.String |
getDescription()
Get the description, if empty use value instead |
java.lang.String |
getValue()
Get the value |
void |
setDescription(java.lang.String s)
Set the description |
void |
setValue(java.lang.String var)
Set the value |
java.lang.String |
toString()
String representation |
java.lang.String |
toXml()
XML representation |
static MultipleChoiceElement |
valueOf(org.w3c.dom.Element el)
Create a MultipleChoiceElement from an XML tag |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static org.apache.log4j.Logger log
protected java.lang.String value
protected java.lang.String description
Constructor Detail |
---|
public MultipleChoiceElement()
Method Detail |
---|
public java.lang.String getValue()
public java.lang.String getDescription()
public void setValue(java.lang.String var)
public void setDescription(java.lang.String s)
public java.lang.String toString()
toString
in class java.lang.Object
public static MultipleChoiceElement valueOf(org.w3c.dom.Element el)
public java.lang.String toXml()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |