KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opensubsystems > blog > www > BlogEntryIdentification


1 /*
2  * Copyright (c) 2003 - 2007 OpenSubsystems s.r.o. Slovak Republic. All rights reserved.
3  *
4  * Project: OpenChronicle
5  *
6  * $Id: BlogEntryIdentification.java,v 1.4 2007/02/20 01:59:18 bastafidli Exp $
7  *
8  * This program is free software; you can redistribute it and/or modify
9  * 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.4 2007/02/20 01:59:18 bastafidli Exp $
28  * @author Miro Halas
29  * @code.reviewer Miro Halas
30  * @code.reviewed Initial revision
31  */

32 class BlogEntryIdentification
33 {
34    // Attributes ///////////////////////////////////////////////////////////////
35

36    /**
37     * Identification of the blog. This can be either blog folder (String) or the
38     * blog id (Integer).
39     */

40    protected Object JavaDoc m_objBlogIdentification;
41
42    /**
43     * Identification of the blog entry.
44     */

45    protected int m_iBlogEntryIdentification;
46
47    // Public methods ///////////////////////////////////////////////////////////
48

49    /**
50     * @return int
51     */

52    public int getBlogEntryIdentification(
53    )
54    {
55       return m_iBlogEntryIdentification;
56    }
57
58    /**
59     * @return Object
60     */

61    public Object JavaDoc getBlogIdentification(
62    )
63    {
64       return m_objBlogIdentification;
65    }
66 }
67
Popular Tags