KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > openi > analysis > LogEntry


1 /*********************************************************************************
2  * The contents of this file are subject to the OpenI Public License Version 1.0
3  * ("License"); You may not use this file except in compliance with the
4  * License. You may obtain a copy of the License at
5  * http://www.openi.org/docs/LICENSE.txt
6  *
7  * Software distributed under the License is distributed on an "AS IS" basis,
8  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
9  * the specific language governing rights and limitations under the License.
10  *
11  * The Original Code is: OpenI Open Source
12  *
13  * The Initial Developer of the Original Code is Loyalty Matrix, Inc.
14  * Portions created by Loyalty Matrix, Inc. are
15  * Copyright (C) 2005 Loyalty Matrix, Inc.; All Rights Reserved.
16  *
17  * Contributor(s): ______________________________________.
18  *
19  ********************************************************************************/

20 package org.openi.analysis;
21
22 import java.util.Date JavaDoc;
23
24
25 public class LogEntry {
26     private String JavaDoc analysisConfigName;
27     private Date JavaDoc timestamp;
28     private String JavaDoc username;
29     private String JavaDoc comment;
30
31     public LogEntry() {
32     }
33
34     /**
35      * @param analysisConfigName
36      * @param timestamp
37      * @param username
38      * @param comment
39      */

40     public LogEntry(String JavaDoc analysisConfigName, Date JavaDoc timestamp, String JavaDoc username,
41         String JavaDoc comment) {
42         this.analysisConfigName = analysisConfigName;
43         this.timestamp = timestamp;
44         this.username = username;
45         this.comment = comment;
46     }
47
48     /**
49      * @return Returns the analysisConfigName.
50      */

51     public String JavaDoc getAnalysisConfigName() {
52         return analysisConfigName;
53     }
54
55     /**
56      * @param analysisConfigName The analysisConfigName to set.
57      */

58     public void setAnalysisConfigName(String JavaDoc analysisConfigName) {
59         this.analysisConfigName = analysisConfigName;
60     }
61
62     /**
63      * @return Returns the comment.
64      */

65     public String JavaDoc getComment() {
66         return comment;
67     }
68
69     /**
70      * @param comment The comment to set.
71      */

72     public void setComment(String JavaDoc comment) {
73         this.comment = comment;
74     }
75
76     /**
77      * @return Returns the timestamp.
78      */

79     public Date JavaDoc getTimestamp() {
80         return timestamp;
81     }
82
83     /**
84      * @param timestamp The timestamp to set.
85      */

86     public void setTimestamp(Date JavaDoc timestamp) {
87         this.timestamp = timestamp;
88     }
89
90     /**
91      * @return Returns the username.
92      */

93     public String JavaDoc getUsername() {
94         return username;
95     }
96
97     /**
98      * @param username The username to set.
99      */

100     public void setUsername(String JavaDoc username) {
101         this.username = username;
102     }
103 }
104
Popular Tags