001/* 002 * (C) Copyright 2006-2012 Nuxeo SA (http://nuxeo.com/) and others. 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 * 016 * Contributors: 017 * Thomas Roger <troger@nuxeo.com> 018 */ 019 020package org.nuxeo.ecm.activity; 021 022/** 023 * @author <a href="mailto:troger@nuxeo.com">Thomas Roger</a> 024 * @since 5.6 025 */ 026public final class ActivityReply { 027 028 private String id; 029 030 private String actor; 031 032 private String displayActor; 033 034 private String message; 035 036 private long publishedDate; 037 038 public ActivityReply() { 039 } 040 041 public ActivityReply(String actor, String displayActor, String message, long publishedDate) { 042 this.actor = actor; 043 this.displayActor = displayActor; 044 this.message = message; 045 this.publishedDate = publishedDate; 046 } 047 048 public String getId() { 049 return id; 050 } 051 052 public void setId(String id) { 053 this.id = id; 054 } 055 056 public String getActor() { 057 return actor; 058 } 059 060 public void setActor(String actor) { 061 this.actor = actor; 062 } 063 064 public String getDisplayActor() { 065 return displayActor; 066 } 067 068 public void setDisplayActor(String displayActor) { 069 this.displayActor = displayActor; 070 } 071 072 public String getMessage() { 073 return message; 074 } 075 076 public void setMessage(String message) { 077 this.message = message; 078 } 079 080 public long getPublishedDate() { 081 return publishedDate; 082 } 083 084 public void setPublishedDate(long publishedDate) { 085 this.publishedDate = publishedDate; 086 } 087}