2 * Copyright 2007, 2008, 2009 Electronic Business Systems Ltd.
\r
4 * This file is part of GSS.
\r
6 * GSS is free software: you can redistribute it and/or modify
\r
7 * it under the terms of the GNU General Public License as published by
\r
8 * the Free Software Foundation, either version 3 of the License, or
\r
9 * (at your option) any later version.
\r
11 * GSS is distributed in the hope that it will be useful,
\r
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
\r
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
\r
14 * GNU General Public License for more details.
\r
16 * You should have received a copy of the GNU General Public License
\r
17 * along with GSS. If not, see <http://www.gnu.org/licenses/>.
\r
19 package gr.ebs.gss.server.domain.dto;
\r
21 import java.util.Date;
\r
24 * The Data Transfer Object version of the AuditInfo class.
\r
28 public class AuditInfoDTO implements java.io.Serializable {
\r
31 * The serial version UID.
\r
33 private static final long serialVersionUID = 1L;
\r
36 * The date the associated object was created.
\r
38 private Date creationDate;
\r
41 * The user that created the associated object.
\r
43 private UserDTO createdBy;
\r
46 * The date the associated object was modified.
\r
48 private Date modificationDate;
\r
51 * The user that modified the associated object.
\r
53 private UserDTO modifiedBy;
\r
56 * A default constructor for serialization.
\r
58 public AuditInfoDTO() {
\r
63 * Retrieve the creation date for the associated object.
\r
65 * @return the date of creation
\r
67 public Date getCreationDate() {
\r
68 return creationDate;
\r
72 * Modify the creation date for the associated object.
\r
74 * @param newCreationDate the new date of creation
\r
76 public void setCreationDate(final Date newCreationDate) {
\r
77 creationDate = newCreationDate;
\r
81 * Retrieve the user that created the associated object.
\r
83 * @return the user that created the associated object
\r
85 public UserDTO getCreatedBy() {
\r
90 * Modify the user that created the associated object.
\r
92 * @param newCreatedBy the new user that created the associated object
\r
94 public void setCreatedBy(final UserDTO newCreatedBy) {
\r
95 createdBy = newCreatedBy;
\r
99 * Retrieve the modification date for the associated object.
\r
101 * @return the date of modification
\r
103 public Date getModificationDate() {
\r
104 return modificationDate;
\r
108 * Modify the modification date for the associated object.
\r
110 * @param newModificationDate the new date of modification
\r
112 public void setModificationDate(final Date newModificationDate) {
\r
113 modificationDate = newModificationDate;
\r
117 * Retrieve the user that modified the associated object.
\r
119 * @return the user that modified the associated object
\r
121 public UserDTO getModifiedBy() {
\r
126 * Modify the user that modified the associated object.
\r
128 * @param newModifiedBy the new user that modified the associated object
\r
130 public void setModifiedBy(final UserDTO newModifiedBy) {
\r
131 modifiedBy = newModifiedBy;
\r