KickJava   Java API By Example, From Geeks To Geeks.

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


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.ArrayList JavaDoc;
23 import java.util.List JavaDoc;
24
25
26 /**
27  * @author plucas
28  *
29  * TODO To change the template for this generated type comment go to
30  * Window - Preferences - Java - Code Style - Code Templates
31  */

32 public class ChangeLog {
33     List JavaDoc entries;
34
35     public ChangeLog() {
36         this.entries = new ArrayList JavaDoc();
37     }
38
39     /**
40      * @return Returns the items.
41      */

42     public List JavaDoc getLogEntries() {
43         return entries;
44     }
45
46     /**
47      * @param items The items to set.
48      */

49     public void setLogEntries(List JavaDoc items) {
50         this.entries = items;
51     }
52
53     public void addLogEntry(LogEntry entry) {
54         this.entries.add(entry);
55     }
56 }
57
Popular Tags