blob: acf619687bd0683e694a4f50d6fe87e05537d113 [file] [log] [blame]
Shuyi Chend7955ce2013-05-22 14:51:55 -07001/**
2 * $Revision$
3 * $Date$
4 *
5 * Copyright 2003-2007 Jive Software.
6 *
7 * All rights reserved. Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 */
19
20package org.jivesoftware.smackx.workgroup.ext.macros;
21
22/**
23 * Macro datamodel.
24 */
25public class Macro {
26 public static final int TEXT = 0;
27 public static final int URL = 1;
28 public static final int IMAGE = 2;
29
30
31 private String title;
32 private String description;
33 private String response;
34 private int type;
35
36 public String getTitle() {
37 return title;
38 }
39
40 public void setTitle(String title) {
41 this.title = title;
42 }
43
44 public String getDescription() {
45 return description;
46 }
47
48 public void setDescription(String description) {
49 this.description = description;
50 }
51
52 public String getResponse() {
53 return response;
54 }
55
56 public void setResponse(String response) {
57 this.response = response;
58 }
59
60 public int getType() {
61 return type;
62 }
63
64 public void setType(int type) {
65 this.type = type;
66 }
67
68}