blob: e6f6b60c54908d8dbc1ac2f35da1096abee9da21 (
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
|
/*
* Copyright (c) 2012, Isode Limited, London, England.
* All rights reserved.
*/
/*
* Copyright (c) 2010, Kevin Smith
* All rights reserved.
*/
package com.isode.stroke.elements;
import java.util.Vector;
/**
* Class representing MUC Admin Payload
*
*/
public class MUCAdminPayload extends Payload {
/**
* Create the object
*/
public MUCAdminPayload() {
}
/**
* Add a MUC Item to the payload
* @param item MUC Item to be added, not null
*/
public void addItem(MUCItem item) {
items_.add(item);
}
/**
* Get the MUC Items from the payload
* @return list of MUC items, can be empty but not null
*/
public Vector<MUCItem> getItems() {
return items_;
}
private Vector<MUCItem> items_ = new Vector<MUCItem>();
}
|