KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > contineo > communication > Recipient


1 /*
2  * Recipient.java
3  *
4  * Created on 28. Februar 2004, 12:07
5  */

6
7 package org.contineo.communication;
8
9 /**
10  *
11  * @author Michael Scholz
12  */

13 public class Recipient {
14     
15     /**
16      * @uml.property name="messageId"
17      */

18     private int messageId = 0;
19     /**
20      * @uml.property name="name"
21      */

22     private String JavaDoc name = "";
23     /**
24      * @uml.property name="address"
25      */

26     private String JavaDoc address = "";
27     
28     /** Creates a new instance of Recipient */
29     public Recipient() {
30     }
31
32     /**
33      *
34      * @uml.property name="messageId"
35      */

36     public int getMessageId() {
37         return messageId;
38     }
39
40     /**
41      *
42      * @uml.property name="name"
43      */

44     public String JavaDoc getName() {
45         return name;
46     }
47
48     /**
49      *
50      * @uml.property name="address"
51      */

52     public String JavaDoc getAddress() {
53         return address;
54     }
55
56     /**
57      *
58      * @uml.property name="messageId"
59      */

60     public void setMessageId(int id) {
61         messageId = id;
62     }
63
64     /**
65      *
66      * @uml.property name="name"
67      */

68     public void setName(String JavaDoc nme) {
69         name = nme;
70     }
71
72     /**
73      *
74      * @uml.property name="address"
75      */

76     public void setAddress(String JavaDoc addr) {
77         address = addr;
78     }
79
80 }
81
Popular Tags