KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jboss > portlet > forums > model > Poll


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

11 package org.jboss.portlet.forums.model;
12
13 import java.util.ArrayList JavaDoc;
14 import java.util.LinkedList JavaDoc;
15
16 /**
17  * @author <a HREF="mailto:theute@jboss.org">Thomas Heute</a>
18  * @version $Revision: 1.2 $
19  */

20 public interface Poll
21 {
22    /**
23     * DOCUMENT_ME
24     *
25     * @return DOCUMENT_ME
26     */

27    Integer JavaDoc getID();
28
29    /**
30     * @param string
31     */

32    void setTitle(String JavaDoc string);
33
34    /**
35     * @param i
36     */

37    void setLength(int i);
38
39    /**
40     * @param list
41     */

42    void setOptions(LinkedList JavaDoc list);
43
44    /**
45     * @return
46     */

47    ArrayList JavaDoc getOptions();
48
49    /**
50     * @return
51     */

52    String JavaDoc getTitle();
53
54    /**
55     * @return
56     */

57    int getLength();
58 }
Popular Tags