001/** 002 * 003 * Copyright 2003-2007 Jive Software. 004 * 005 * Licensed under the Apache License, Version 2.0 (the "License"); 006 * you may not use this file except in compliance with the License. 007 * You may obtain a copy of the License at 008 * 009 * http://www.apache.org/licenses/LICENSE-2.0 010 * 011 * Unless required by applicable law or agreed to in writing, software 012 * distributed under the License is distributed on an "AS IS" BASIS, 013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 014 * See the License for the specific language governing permissions and 015 * limitations under the License. 016 */ 017 018package org.jivesoftware.smackx.workgroup.ext.macros; 019 020/** 021 * Macro datamodel. 022 */ 023public class Macro { 024 public static final int TEXT = 0; 025 public static final int URL = 1; 026 public static final int IMAGE = 2; 027 028 029 private String title; 030 private String description; 031 private String response; 032 private int type; 033 034 public String getTitle() { 035 return title; 036 } 037 038 public void setTitle(String title) { 039 this.title = title; 040 } 041 042 public String getDescription() { 043 return description; 044 } 045 046 public void setDescription(String description) { 047 this.description = description; 048 } 049 050 public String getResponse() { 051 return response; 052 } 053 054 public void setResponse(String response) { 055 this.response = response; 056 } 057 058 public int getType() { 059 return type; 060 } 061 062 public void setType(int type) { 063 this.type = type; 064 } 065 066}