KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > quikj > application > web > talk > plugin > InformationEvent


1 /*
2  * InformationEvent.java
3  *
4  * Created on April 14, 2002, 3:29 AM
5  */

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

17 public class InformationEvent implements AceMessageInterface
18 {
19     
20     private boolean request = true;
21     
22     private CallPartyElement information = null;
23     
24     private EndPointInterface from = null;
25     
26     private Object JavaDoc userParm = null;
27     
28     /** Creates a new instance of InformationEvent */
29     public InformationEvent()
30     {
31     }
32     
33     public String JavaDoc messageType()
34     {
35         return "ApplicationTalkInformationEvent";
36     }
37     
38     /** Getter for property request.
39      * @return Value of property request.
40      */

41     public boolean isRequest()
42     {
43         return request;
44     }
45     
46     /** Setter for property request.
47      * @param request New value of property request.
48      */

49     public void setRequest(boolean request)
50     {
51         this.request = request;
52     }
53     
54     /** Getter for property information.
55      * @return Value of property information.
56      */

57     public CallPartyElement getInformation()
58     {
59         return information;
60     }
61     
62     /** Setter for property information.
63      * @param information New value of property information.
64      */

65     public void setInformation(com.quikj.application.web.talk.messaging.CallPartyElement information)
66     {
67         this.information = information;
68     }
69     
70     /** Getter for property from.
71      * @return Value of property from.
72      */

73     public EndPointInterface getFrom()
74     {
75         return from;
76     }
77     
78     /** Setter for property from.
79      * @param from New value of property from.
80      */

81     public void setFrom(EndPointInterface from)
82     {
83         this.from = from;
84     }
85     
86     /** Getter for property userParm.
87      * @return Value of property userParm.
88      */

89     public java.lang.Object JavaDoc getUserParm()
90     {
91         return userParm;
92     }
93     
94     /** Setter for property userParm.
95      * @param userParm New value of property userParm.
96      */

97     public void setUserParm(java.lang.Object JavaDoc userParm)
98     {
99         this.userParm = userParm;
100     }
101     
102 }
103
Popular Tags