001: /*********************************************************************************
002: * The contents of this file are subject to the OpenI Public License Version 1.0
003: * ("License"); You may not use this file except in compliance with the
004: * License. You may obtain a copy of the License at
005: * http://www.openi.org/docs/LICENSE.txt
006: *
007: * Software distributed under the License is distributed on an "AS IS" basis,
008: * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
009: * the specific language governing rights and limitations under the License.
010: *
011: * The Original Code is: OpenI Open Source
012: *
013: * The Initial Developer of the Original Code is Loyalty Matrix, Inc.
014: * Portions created by Loyalty Matrix, Inc. are
015: * Copyright (C) 2005 Loyalty Matrix, Inc.; All Rights Reserved.
016: *
017: * Contributor(s): ______________________________________.
018: *
019: ********************************************************************************/package org.openi.analysis;
020:
021: import java.util.Date;
022:
023: public class LogEntry {
024: private String analysisConfigName;
025: private Date timestamp;
026: private String username;
027: private String comment;
028:
029: public LogEntry() {
030: }
031:
032: /**
033: * @param analysisConfigName
034: * @param timestamp
035: * @param username
036: * @param comment
037: */
038: public LogEntry(String analysisConfigName, Date timestamp,
039: String username, String comment) {
040: this .analysisConfigName = analysisConfigName;
041: this .timestamp = timestamp;
042: this .username = username;
043: this .comment = comment;
044: }
045:
046: /**
047: * @return Returns the analysisConfigName.
048: */
049: public String getAnalysisConfigName() {
050: return analysisConfigName;
051: }
052:
053: /**
054: * @param analysisConfigName The analysisConfigName to set.
055: */
056: public void setAnalysisConfigName(String analysisConfigName) {
057: this .analysisConfigName = analysisConfigName;
058: }
059:
060: /**
061: * @return Returns the comment.
062: */
063: public String getComment() {
064: return comment;
065: }
066:
067: /**
068: * @param comment The comment to set.
069: */
070: public void setComment(String comment) {
071: this .comment = comment;
072: }
073:
074: /**
075: * @return Returns the timestamp.
076: */
077: public Date getTimestamp() {
078: return timestamp;
079: }
080:
081: /**
082: * @param timestamp The timestamp to set.
083: */
084: public void setTimestamp(Date timestamp) {
085: this .timestamp = timestamp;
086: }
087:
088: /**
089: * @return Returns the username.
090: */
091: public String getUsername() {
092: return username;
093: }
094:
095: /**
096: * @param username The username to set.
097: */
098: public void setUsername(String username) {
099: this.username = username;
100: }
101: }
|