KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > portlet > forums > impl > PollImpl


1 /*****************************************
2  * *
3  * JBoss Portal: The OpenSource Portal *
4  * *
5  * Forums JBoss Portlet *
6  * *
7  * Distributable under LGPL license. *
8  * See terms of license at gnu.org. *
9  * *
10  *****************************************/

11 package org.jboss.portlet.forums.impl;
12
13 import java.io.Serializable JavaDoc;
14 import java.util.ArrayList JavaDoc;
15 import java.util.LinkedList JavaDoc;
16
17 import org.jboss.portlet.forums.model.Poll;
18
19 /**
20  * @hibernate.class table="jbp_forums_polls"
21  *
22  * @author <a HREF="mailto:julien@jboss.org">Julien Viet </a>
23  * @author <a HREF="mailto:theute@jboss.org">Thomas Heute </a>
24  * @version $Revision: 1.5 $
25  */

26 public class PollImpl
27    implements Serializable JavaDoc,
28               Poll
29 {
30    /**
31     * Creates a new {@link PollImpl} object.
32     */

33    public PollImpl()
34    {
35    }
36
37    private Integer JavaDoc id;
38
39    /**
40     * @hibernate.id
41     * column="jbp_id"
42     * generator-class="native"
43     */

44    public Integer JavaDoc getID()
45    {
46       return id;
47    }
48
49    private void setID(Integer JavaDoc id)
50    {
51       this.id = id;
52    }
53
54    /* (non-Javadoc)
55     * @see org.jboss.portlet.forums.model.Poll#setTitle(java.lang.String)
56     */

57    public void setTitle(String JavaDoc string)
58    {
59       // TODO Auto-generated method stub
60
}
61
62    /* (non-Javadoc)
63     * @see org.jboss.portlet.forums.model.Poll#setLength(int)
64     */

65    public void setLength(int i)
66    {
67       // TODO Auto-generated method stub
68
}
69
70    /* (non-Javadoc)
71     * @see org.jboss.portlet.forums.model.Poll#setOptions(java.util.LinkedList)
72     */

73    public void setOptions(LinkedList JavaDoc list)
74    {
75       // TODO Auto-generated method stub
76
}
77
78    /* (non-Javadoc)
79     * @see org.jboss.portlet.forums.model.Poll#getOptions()
80     */

81    public ArrayList JavaDoc getOptions()
82    {
83       // TODO Auto-generated method stub
84
return null;
85    }
86
87    /* (non-Javadoc)
88     * @see org.jboss.portlet.forums.model.Poll#getTitle()
89     */

90    public String JavaDoc getTitle()
91    {
92       // TODO Auto-generated method stub
93
return null;
94    }
95
96    /* (non-Javadoc)
97     * @see org.jboss.portlet.forums.model.Poll#getLength()
98     */

99    public int getLength()
100    {
101       // TODO Auto-generated method stub
102
return 0;
103    }
104 }
Popular Tags