KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > quikj > application > web > talk > client > CannedElement


1 /*
2  * CannedElement.java
3  *
4  * Created on June 8, 2003, 6:36 PM
5  */

6
7 package com.quikj.application.web.talk.client;
8
9 import com.quikj.application.web.talk.messaging.*;
10
11 /**
12  *
13  * @author amit
14  */

15 public class CannedElement
16 {
17     
18     /** Holds value of property id. */
19     private String JavaDoc id;
20     
21     /** Holds value of property group. */
22     private String JavaDoc group;
23     
24     /** Holds value of property description. */
25     private String JavaDoc description;
26     
27     /** Holds value of property message. */
28     private MediaElements message;
29     
30     /** Creates a new instance of CannedElement */
31     public CannedElement()
32     {
33     }
34     
35     /** Getter for property id.
36      * @return Value of property id.
37      *
38      */

39     public String JavaDoc getId()
40     {
41         return this.id;
42     }
43     
44     /** Setter for property id.
45      * @param id New value of property id.
46      *
47      */

48     public void setId(String JavaDoc id)
49     {
50         this.id = id;
51     }
52     
53     /** Getter for property group.
54      * @return Value of property group.
55      *
56      */

57     public String JavaDoc getGroup()
58     {
59         return this.group;
60     }
61     
62     /** Setter for property group.
63      * @param group New value of property group.
64      *
65      */

66     public void setGroup(String JavaDoc group)
67     {
68         this.group = group;
69     }
70     
71     /** Getter for property description.
72      * @return Value of property description.
73      *
74      */

75     public String JavaDoc getDescription()
76     {
77         return this.description;
78     }
79     
80     /** Setter for property description.
81      * @param description New value of property description.
82      *
83      */

84     public void setDescription(String JavaDoc description)
85     {
86         this.description = description;
87     }
88     
89     /** Getter for property message.
90      * @return Value of property message.
91      *
92      */

93     public MediaElements getMessage()
94     {
95         return this.message;
96     }
97     
98     /** Setter for property message.
99      * @param message New value of property message.
100      *
101      */

102     public void setMessage(MediaElements message)
103     {
104         this.message = message;
105     }
106     
107 }
108
Popular Tags