databionics.modules
Class MultipleChoiceElement

java.lang.Object
  extended by databionics.modules.MultipleChoiceElement

public class MultipleChoiceElement
extends java.lang.Object

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

log

protected static org.apache.log4j.Logger log
log4j logging


value

protected java.lang.String value
parameter value


description

protected java.lang.String description
parameter description

Constructor Detail

MultipleChoiceElement

public MultipleChoiceElement()
Default constructor

Method Detail

getValue

public java.lang.String getValue()
Get the value


getDescription

public java.lang.String getDescription()
Get the description, if empty use value instead


setValue

public void setValue(java.lang.String var)
Set the value


setDescription

public void setDescription(java.lang.String s)
Set the description


toString

public java.lang.String toString()
String representation

Overrides:
toString in class java.lang.Object

valueOf

public static MultipleChoiceElement valueOf(org.w3c.dom.Element el)
Create a MultipleChoiceElement from an XML tag


toXml

public java.lang.String toXml()
XML representation



Copyright © 2005-2006 Databionics Research Group. All Rights Reserved.