KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > opensubsystems > core > data > GenericData


1 /*
2  * Copyright (c) 2005 - 2007 OpenSubsystems s.r.o. Slovak Republic. All rights reserved.
3  *
4  * Project: OpenSubsystems
5  *
6  * $Id: GenericData.java,v 1.3 2007/03/11 06:29:57 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.core.data;
23
24 /**
25  * This interface is used to expose information about a data object that can be
26  * easily used to identify the data object in the user interface.
27  *
28  * @version $Id: GenericData.java,v 1.3 2007/03/11 06:29:57 bastafidli Exp $
29  * @author Julian Legeny
30  * @code.reviewer Miro Halas
31  * @code.reviewed 1.2 2005/09/21 00:01:15 jlegeny
32  */

33 public interface GenericData
34 {
35    /**
36     * Get ID of the data object
37     *
38     * @return int - id of the generic data
39     */

40    int getId();
41    
42    /**
43     * Get name of the data object
44     *
45     * @return String - name of the generic data
46     */

47    String JavaDoc getName();
48    
49    /**
50     * Get description of the data object
51     *
52     * @return String - description of the generic data
53     */

54    String JavaDoc getDescription();
55 }
56
Popular Tags