View Javadoc

1   // ReceiveEvent.java - a HylaFAX Job representation
2   // $Id: ReceiveEvent.java,v 1.2 2006/02/20 04:52:10 sjardine Exp $
3   //
4   // Copyright 2003 Innovation Software Group, LLC - http://www.innovationsw.com
5   //                Joe Phillips <joe.phillips@innovationsw.com>
6   //
7   // for information on the HylaFAX FAX server see
8   //  http://www.hylafax.org/
9   //
10  // This library is free software; you can redistribute it and/or
11  // modify it under the terms of the GNU Library General Public
12  // License as published by the Free Software Foundation; either
13  // version 2 of the License, or (at your option) any later version.
14  //
15  // This library is distributed in the hope that it will be useful,
16  // but WITHOUT ANY WARRANTY; without even the implied warranty of
17  // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18  // Library General Public License for more details.
19  //
20  // You should have received a copy of the GNU Library General Public
21  // License along with this library; if not, write to the Free
22  // Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23  //
24  package gnu.hylafax.job;
25  
26  /***
27   * This class contains the information available on a receive job notification.
28   * 
29   * @author $Author: sjardine $
30   * @version $Id: ReceiveEvent.java,v 1.2 2006/02/20 04:52:10 sjardine Exp $
31   */
32  public class ReceiveEvent extends Event {
33  
34      private String modem;
35      private String message;
36      private String cidNumber;
37      private String cidName;
38      private String commid;
39  
40      public String getModem() {
41  	return modem;
42      }
43  
44      public void setModem(String m) {
45  	modem = m;
46      }
47  
48      public void setMessage(String msg) {
49  	message = msg;
50      }
51  
52      public String getMessage() {
53  	return message;
54      }
55  
56      public void setCidNumber(String cid) {
57  	cidNumber = cid;
58      }
59  
60      public String getCidNumber() {
61  	return cidNumber;
62      }
63  
64      public void setCidName(String cid) {
65  	cidName = cid;
66      }
67  
68      public String getCidName() {
69  	return cidName;
70      }
71  
72      public void setCommunicationIdentifier(String cid) {
73  	commid = cid;
74      }
75  
76      public String getCommunicationIdentifier() {
77  	return commid;
78      }
79  
80  }// ReceiveEvent class
81  // ReceiveEvent.java