01: /*
02: * Copyright (c) 2003 - 2007 OpenSubsystems s.r.o. Slovak Republic. All rights reserved.
03: *
04: * Project: OpenChronicle
05: *
06: * $Id: BlogEntryIdentification.java,v 1.3 2007/02/20 03:52:29 bastafidli Exp $
07: *
08: * This program is free software; you can redistribute it and/or modify
09: * it under the terms of the GNU General Public License as published by
10: * the Free Software Foundation; version 2 of the License.
11: *
12: * This program is distributed in the hope that it will be useful,
13: * but WITHOUT ANY WARRANTY; without even the implied warranty of
14: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15: * GNU General Public License for more details.
16: *
17: * You should have received a copy of the GNU General Public License
18: * along with this program; if not, write to the Free Software
19: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20: */
21:
22: package org.opensubsystems.blog.www;
23:
24: /**
25: * Structure used to identify blog entry on the web.
26: *
27: * @version $Id: BlogEntryIdentification.java,v 1.3 2007/02/20 03:52:29 bastafidli Exp $
28: * @author Miro Halas
29: * @code.reviewer Miro Halas
30: * @code.reviewed Initial revision
31: */
32: class BlogEntryIdentification {
33: // Attributes ///////////////////////////////////////////////////////////////
34:
35: /**
36: * Identification of the blog. This can be either blog folder (String) or the
37: * blog id (Integer).
38: */
39: protected Object m_objBlogIdentification;
40:
41: /**
42: * Identification of the blog entry.
43: */
44: protected int m_iBlogEntryIdentification;
45:
46: // Public methods ///////////////////////////////////////////////////////////
47:
48: /**
49: * @return int
50: */
51: public int getBlogEntryIdentification() {
52: return m_iBlogEntryIdentification;
53: }
54:
55: /**
56: * @return Object
57: */
58: public Object getBlogIdentification() {
59: return m_objBlogIdentification;
60: }
61: }
|