KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > freeforums > message > Message


1 /*
2  * Message.java
3  *
4  * Defines the remote interface for the message bean
5  *
6  * @author: Devraj Mukherjee
7  *
8  * Created: 23rd June 2001
9  *
10  */

11
12  package freeforums.message;
13
14  import java.rmi.RemoteException JavaDoc;
15  import java.util.Date JavaDoc;
16  import javax.ejb.*;
17
18  public interface Message extends EJBObject {
19
20      public Integer JavaDoc getMessageID() throws RemoteException JavaDoc;
21      public void setMessageID(Integer JavaDoc messageID) throws RemoteException JavaDoc;
22
23      public String JavaDoc getSubject() throws RemoteException JavaDoc;
24      public void setSubject(String JavaDoc subject) throws RemoteException JavaDoc;
25
26      public String JavaDoc getDescription() throws RemoteException JavaDoc;
27      public void setDescription(String JavaDoc descrption) throws RemoteException JavaDoc;
28
29      public Integer JavaDoc getReplyToID() throws RemoteException JavaDoc;
30      public void setReplyToID(Integer JavaDoc replyToID) throws RemoteException JavaDoc;
31
32      public Integer JavaDoc getForumID() throws RemoteException JavaDoc;
33      public void setForumID(Integer JavaDoc forumID) throws RemoteException JavaDoc;
34
35      public String JavaDoc getAttachmentFile() throws RemoteException JavaDoc;
36      public void setAttachmentFile(String JavaDoc attachmentFile) throws RemoteException JavaDoc;
37
38      public String JavaDoc getUserName() throws RemoteException JavaDoc;
39      public void setUserName(String JavaDoc userName) throws RemoteException JavaDoc;
40
41      public Date JavaDoc getMessageDate() throws RemoteException JavaDoc;
42      public void setMessageDate(Date JavaDoc messageDate) throws RemoteException JavaDoc;
43
44  }
Popular Tags