Statistics
| Revision:

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 @ 40769

History | View | Annotate | Download (2.08 KB)

1
/**
2
 * gvSIG. Desktop Geographic Information System.
3
 *
4
 * Copyright (C) 2007-2013 gvSIG Association.
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 3
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
 * For any additional information, do not hesitate to contact us
22
 * at info AT gvsig.com, or visit our website www.gvsig.com.
23
 */
24
package org.gvsig.metadata;
25

    
26
import java.util.Set;
27

    
28
import org.gvsig.metadata.exceptions.MetadataException;
29
import org.gvsig.tools.dynobject.DynObject;
30

    
31
/**
32
 * Metadata is information or data about data {@link http
33
 * ://en.wikipedia.org/wiki/Metadata}.
34
 * <p>
35
 * This interface extends DynObject to add anything needed over the DynObject
36
 * model to be able to be used as a Metadata model.
37
 * </p>
38
 * 
39
 * @author gvSIG Team
40
 * @author <a href="mailto:cordin@disid.com">C?sar Ordi?ana</a>
41
 * @author <a href="mailto:reinhold@uji.es">cmartin</a>
42
 * @version $Id$
43
 * 
44
 */
45
public interface Metadata extends DynObject {
46

    
47
        /**
48
         * Returns the unique identifier of the Metadata.
49
         * 
50
         * @return the Metadata identifier
51
         */
52
        public Object getMetadataID() throws MetadataException;
53

    
54
        /**
55
         * Returns the name of the Metadata, which allows to identify the type in
56
         * the Metadata registry.
57
         * 
58
         * @return the Metadata name
59
         */
60
        public String getMetadataName() throws MetadataException;
61

    
62
        /**
63
         * Returns an unsorted set of child Metadata objects.
64
         * 
65
         * @return an unsorted set of child Metadata objects
66
         */
67
        public Set getMetadataChildren() throws MetadataException;
68

    
69
}