com.xmlserv.app.lottery
Class Lottery.Answer
java.lang.Object
|
+--com.xmlserv.app.lottery.Lottery.Answer
- Enclosing class:
- Lottery
- public static class Lottery.Answer
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Lottery.Answer
public Lottery.Answer(int lottery)
Lottery.Answer
public Lottery.Answer(java.sql.Connection con,
int id)
throws XMLServException
load
public void load(java.sql.Connection con)
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 user info.
getId
public int getId()
getLottery
public int getLottery()
setLottery
public void setLottery(int lottery)
getUserid
public int getUserid()
setUserid
public void setUserid(int userid)
getAnswer
public java.lang.String getAnswer()
setAnswer
public void setAnswer(java.lang.String answer)
getPhonebookid
public int getPhonebookid()
setPhonebookid
public void setPhonebookid(int phonebookid)
getComment
public java.lang.String getComment()
setComment
public void setComment(java.lang.String comment)