/* Copyright 2012 - Luís A. Bastião Silva
*
* This file is part of JDBQueue.
*
* JDBQueue is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* JDBQueue is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with JDBQueue. If not, see <http://www.gnu.org/licenses/>.
*/
package org.koplabs.dbqueue;
/**
*
* @author Luís A. Bastião Silva <luis.kop@gmail.com>
*/
public class MessageObj
{
private String id;
private String msg;
/**
* @return the id
*/
public String getId() {
return id;
}
/**
* @param id the id to set
*/
public void setId(String id) {
this.id = id;
}
/**
* @return the msg
*/
public String getMsg() {
return msg;
}
/**
* @param msg the msg to set
*/
public void setMsg(String msg) {
this.msg = msg;
}
public String toString()
{
String result = "" ;
result = "Msg id: " + this.id + "\nMsg: "+ this.msg ;
return result;
}
}