blob: cbe6e395fefb6c3690607b5814032a8f9b1f3302 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
|
/*
* Copyright (c) 2011-2015, Isode Limited, London, England.
* All rights reserved.
*/
package com.isode.stroke.elements;
import com.isode.stroke.jid.JID;
/**
* Class representing a MUC Invitation Payload
*
*/
public class MUCInvitationPayload extends Payload {
private boolean continuation_;
private JID jid_;
private String password_ = "";
private String reason_ = "";
private String thread_ = "";
private boolean impromptu_;
/**
* Create the payload
*/
public MUCInvitationPayload() {
continuation_= false;
}
/**
* Set the continuation value
* @param b value to set
*/
public void setIsContinuation(boolean b) {
continuation_ = b;
}
/**
* Get the continuation value
* @return continuation value
*/
public boolean getIsContinuation() {
return continuation_;
}
/**
* Set the impromptu value
* @param b value to set
*/
public void setIsImpromptu(boolean b) {
impromptu_ = b;
}
/**
* Get the impromptu value
* @return impromptu value
*/
public boolean getIsImpromptu() {
return impromptu_;
}
/**
* Set the jabber ID
* @param jid jabber Id, not null
*/
public void setJID(JID jid) {
jid_ = jid;
}
/**
* Get the jabber ID
* @return jabber ID, can be null if not set
*/
public JID getJID(){
return jid_;
}
/**
* Set the password
* @param password not null
*/
public void setPassword(String password) {
password_ = password;
}
/**
* Get the password
* @return password, can be null if not set
*/
public String getPassword() {
return password_;
}
/**
* Set the reason text
* @param text reason text, not null
*/
public void setReason(String text) {
reason_ = text;
}
/**
* Get the reason value
* @return reason value, null if not set
*/
public String getReason() {
return reason_;
}
/**
* Set the value of describing the thread
* @param thread thread string, not null
*/
public void setThread(String thread) {
thread_ = thread;
}
/**
* Get the string value for thread
* @return thread value, null if not set
*/
public String getThread() {
return thread_;
}
}
|