/* * Copyright (C) 2010-2012 Stichting Akvo (Akvo Foundation) * * This file is part of Akvo FLOW. * * Akvo FLOW is free software: you can redistribute it and modify it under the terms of * the GNU Affero General Public License (AGPL) as published by the Free Software Foundation, * either version 3 of the License or any later version. * * Akvo FLOW 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 Affero General Public License included below for more details. * * The full license text can also be seen at <http://www.gnu.org/licenses/agpl.html>. */ package com.gallatinsystems.messaging.app.gwt.client; import java.util.Date; import com.gallatinsystems.framework.gwt.dto.client.BaseDto; /** * transfer object for Messages. * * @author Christopher Fagiani */ public class MessageDto extends BaseDto { private static final long serialVersionUID = -7560107313339712237L; private String actionAbout; private Long objectId; private String message; private String objectTitle; private String shortMessage; private String transactionUUID; private Date lastUpdateDateTime; private String userName; public String getUserName() { return userName; } public void setUserName(String userName) { this.userName = userName; } public Date getLastUpdateDateTime() { return lastUpdateDateTime; } public void setLastUpdateDateTime(Date lastUpdateDateTime) { this.lastUpdateDateTime = lastUpdateDateTime; } public String getActionAbout() { return actionAbout; } public void setActionAbout(String actionAbout) { this.actionAbout = actionAbout; } public Long getObjectId() { return objectId; } public void setObjectId(Long objectId) { this.objectId = objectId; } public String getMessage() { return message; } public void setMessage(String message) { this.message = message; } public String getObjectTitle() { return objectTitle; } public void setObjectTitle(String objectTitle) { this.objectTitle = objectTitle; } public String getShortMessage() { return shortMessage; } public void setShortMessage(String shortMessage) { this.shortMessage = shortMessage; } public String getTransactionUUID() { return transactionUUID; } public void setTransactionUUID(String transactionUUID) { this.transactionUUID = transactionUUID; } }