com.xmlserv.app.poll
Class Poll.Question
java.lang.Object
|
+--com.xmlserv.app.poll.Poll.Question
- Enclosing class:
- Poll
- public static class Poll.Question
- extends java.lang.Object
Constructor Summary |
Poll.Question(java.sql.Connection con,
int id)
Open existing question. |
Poll.Question(int poll)
Create new Question for given Poll. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Poll.Question
public Poll.Question(int poll)
- Create new Question for given Poll.
Poll.Question
public Poll.Question(java.sql.Connection con,
int id)
throws XMLServException
- Open existing question.
save
public void save(java.sql.Connection con)
throws XMLServException
toElement
public org.jdom.Element toElement()
getId
public int getId()
getPoll
public int getPoll()
setPoll
public void setPoll(int poll)
getOrdering
public int getOrdering()
setOrdering
public void setOrdering(int ordering)
getQuestiontext
public java.lang.String getQuestiontext()
setQuestiontext
public void setQuestiontext(java.lang.String questiontext)