KickJava   Java API By Example, From Geeks To Geeks.

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


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

9 package org.jboss.portlet.forums.model;
10
11 /**
12  * An abstraction concept of watch which denotes a relationship between a poster and an item.
13  *
14  * @author <a HREF="mailto:julien@jboss.org">Julien Viet</a>
15  * @version $Revision: 1.1 $
16  */

17 public interface Watch
18 {
19
20    /**
21     * Return the watch ID.
22     */

23    Integer JavaDoc getID();
24
25    /**
26     * Return the poster.
27     */

28    Poster getPoster();
29
30    /**
31     * Set the poster.
32     */

33    void setPoster(Poster poster);
34
35    /**
36     * Return the mode.
37     */

38    int getMode();
39
40    /**
41     * Set the mode.
42     */

43    void setMode(int mode);
44 }
45
Popular Tags