001/*
002 * (C) Copyright 2006-2012 Nuxeo SA (http://nuxeo.com/) and others.
003 *
004 * All rights reserved. This program and the accompanying materials
005 * are made available under the terms of the GNU Lesser General Public License
006 * (LGPL) version 2.1 which accompanies this distribution, and is available at
007 * http://www.gnu.org/licenses/lgpl-2.1.html
008 *
009 * This library is distributed in the hope that it will be useful,
010 * but WITHOUT ANY WARRANTY; without even the implied warranty of
011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
012 * Lesser General Public License for more details.
013 *
014 * Contributors:
015 *     Thomas Roger <troger@nuxeo.com>
016 */
017
018package org.nuxeo.ecm.activity;
019
020/**
021 * @author <a href="mailto:troger@nuxeo.com">Thomas Roger</a>
022 * @since 5.6
023 */
024public final class ActivityReply {
025
026    private String id;
027
028    private String actor;
029
030    private String displayActor;
031
032    private String message;
033
034    private long publishedDate;
035
036    public ActivityReply() {
037    }
038
039    public ActivityReply(String actor, String displayActor, String message, long publishedDate) {
040        this.actor = actor;
041        this.displayActor = displayActor;
042        this.message = message;
043        this.publishedDate = publishedDate;
044    }
045
046    public String getId() {
047        return id;
048    }
049
050    public void setId(String id) {
051        this.id = id;
052    }
053
054    public String getActor() {
055        return actor;
056    }
057
058    public void setActor(String actor) {
059        this.actor = actor;
060    }
061
062    public String getDisplayActor() {
063        return displayActor;
064    }
065
066    public void setDisplayActor(String displayActor) {
067        this.displayActor = displayActor;
068    }
069
070    public String getMessage() {
071        return message;
072    }
073
074    public void setMessage(String message) {
075        this.message = message;
076    }
077
078    public long getPublishedDate() {
079        return publishedDate;
080    }
081
082    public void setPublishedDate(long publishedDate) {
083        this.publishedDate = publishedDate;
084    }
085}