OSDN Git Service

There are multiple changes with this commit.
[neighbornote/NeighborNote.git] / src / cx / fbn / nevernote / filters / NotebookCounter.java
1 /*\r
2  * This file is part of NeverNote \r
3  * Copyright 2009 Randy Baumgarte\r
4  * \r
5  * This file may be licensed under the terms of of the\r
6  * GNU General Public License Version 2 (the ``GPL'').\r
7  *\r
8  * Software distributed under the License is distributed\r
9  * on an ``AS IS'' basis, WITHOUT WARRANTY OF ANY KIND, either\r
10  * express or implied. See the GPL for the specific language\r
11  * governing rights and limitations.\r
12  *\r
13  * You should have received a copy of the GPL along with this\r
14  * program. If not, go to http://www.gnu.org/licenses/gpl.html\r
15  * or write to the Free Software Foundation, Inc.,\r
16  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\r
17  *\r
18 */\r
19 \r
20 \r
21 package cx.fbn.nevernote.filters;\r
22 \r
23 public class NotebookCounter {\r
24         private String  guid;\r
25         private int     count;\r
26         \r
27         \r
28         public NotebookCounter() {\r
29                 guid = new String("");\r
30                 count = 0;\r
31         }\r
32         public NotebookCounter(NotebookCounter n) {\r
33                 guid = new String(n.getGuid());\r
34                 count = n.getCount();\r
35         }\r
36         public void setGuid(String g) {\r
37                 guid = g;\r
38         }\r
39         public String getGuid() {\r
40                 return guid;\r
41         }\r
42         public void setCount(int i) {\r
43                 count = i;\r
44         }\r
45         public int getCount() {\r
46                 return count;\r
47         }\r
48         \r
49 }\r