com.xmlserv.app.poll
Class Poll.Answer

java.lang.Object
  |
  +--com.xmlserv.app.poll.Poll.Answer
Enclosing class:
Poll

public static class Poll.Answer
extends java.lang.Object


Constructor Summary
Poll.Answer(java.sql.Connection con, int id)
           
Poll.Answer(int userid, int option)
           
 
Method Summary
 int getId()
           
 int getOption()
           
 int getUserid()
           
 void save(java.sql.Connection con)
           
 void setId(int id)
           
 void setOption(int option)
           
 void setUserid(int userid)
           
 org.jdom.Element toElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Poll.Answer

public Poll.Answer(int userid,
                   int option)

Poll.Answer

public Poll.Answer(java.sql.Connection con,
                   int id)
            throws XMLServException
Method Detail

save

public void save(java.sql.Connection con)
          throws XMLServException

toElement

public org.jdom.Element toElement()

getId

public int getId()

setId

public void setId(int id)

getUserid

public int getUserid()

setUserid

public void setUserid(int userid)

getOption

public int getOption()

setOption

public void setOption(int option)