com.xmlserv.app.poll
Class Poll.Option
java.lang.Object
|
+--com.xmlserv.app.poll.Poll.Option
- Enclosing class:
- Poll
- public static class Poll.Option
- extends java.lang.Object
Constructor Summary |
Poll.Option(java.sql.Connection con,
int id)
|
Poll.Option(int question,
java.lang.String optiontext)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Poll.Option
public Poll.Option(int question,
java.lang.String optiontext)
Poll.Option
public Poll.Option(java.sql.Connection con,
int id)
throws XMLServException
save
public void save(java.sql.Connection con)
throws XMLServException
toElement
public org.jdom.Element toElement()
toElement
public org.jdom.Element toElement(java.sql.Connection con)
throws XMLServException
- Include answer count.
getId
public int getId()
getQuestion
public int getQuestion()
setQuestion
public void setQuestion(int question)
getOrdering
public int getOrdering()
setOrdering
public void setOrdering(int ordering)
getOptiontext
public java.lang.String getOptiontext()
setOptiontext
public void setOptiontext(java.lang.String optiontext)