svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.metadata.basic / org.gvsig.metadata.basic.lib / org.gvsig.metadata.lib.basic.api / src / main / java / org / gvsig / metadata / Metadata.java @ 40608
History | View | Annotate | Download (2.22 KB)
1 |
/* gvSIG. Geographic Information System of the Valencian Government
|
---|---|
2 |
*
|
3 |
* Copyright (C) 2007-2008 Infrastructures and Transports Department
|
4 |
* of the Valencian Government (CIT)
|
5 |
*
|
6 |
* This program is free software; you can redistribute it and/or
|
7 |
* modify it under the terms of the GNU General Public License
|
8 |
* as published by the Free Software Foundation; either version 2
|
9 |
* of the License, or (at your option) any later version.
|
10 |
*
|
11 |
* This program is distributed in the hope that it will be useful,
|
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14 |
* GNU General Public License for more details.
|
15 |
*
|
16 |
* You should have received a copy of the GNU General Public License
|
17 |
* along with this program; if not, write to the Free Software
|
18 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
19 |
* MA 02110-1301, USA.
|
20 |
*
|
21 |
*/
|
22 |
/*
|
23 |
* AUTHORS (In addition to CIT):
|
24 |
* 2011 Geographic Information research group: http://www.geoinfo.uji.es
|
25 |
* Departamento de Lenguajes y Sistemas Informaticos (LSI)
|
26 |
* Universitat Jaume I
|
27 |
*/
|
28 |
|
29 |
package org.gvsig.metadata; |
30 |
|
31 |
import java.util.Set; |
32 |
|
33 |
import org.gvsig.metadata.exceptions.MetadataException; |
34 |
import org.gvsig.tools.dynobject.DynObject; |
35 |
|
36 |
/**
|
37 |
* Metadata is information or data about data {@link http
|
38 |
* ://en.wikipedia.org/wiki/Metadata}.
|
39 |
* <p>
|
40 |
* This interface extends DynObject to add anything needed over the DynObject
|
41 |
* model to be able to be used as a Metadata model.
|
42 |
* </p>
|
43 |
*
|
44 |
* @author gvSIG Team
|
45 |
* @author <a href="mailto:cordin@disid.com">C?sar Ordi?ana</a>
|
46 |
* @author <a href="mailto:reinhold@uji.es">cmartin</a>
|
47 |
* @version $Id$
|
48 |
*
|
49 |
*/
|
50 |
public interface Metadata extends DynObject { |
51 |
|
52 |
/**
|
53 |
* Returns the unique identifier of the Metadata.
|
54 |
*
|
55 |
* @return the Metadata identifier
|
56 |
*/
|
57 |
public Object getMetadataID() throws MetadataException; |
58 |
|
59 |
/**
|
60 |
* Returns the name of the Metadata, which allows to identify the type in
|
61 |
* the Metadata registry.
|
62 |
*
|
63 |
* @return the Metadata name
|
64 |
*/
|
65 |
public String getMetadataName() throws MetadataException; |
66 |
|
67 |
/**
|
68 |
* Returns an unsorted set of child Metadata objects.
|
69 |
*
|
70 |
* @return an unsorted set of child Metadata objects
|
71 |
*/
|
72 |
public Set getMetadataChildren() throws MetadataException; |
73 |
|
74 |
} |