root / trunk / libraries / libMetadata / src / org / gvsig / metadata / Metadata.java @ 20940
History | View | Annotate | Download (1.87 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 |
/*
|
24 |
* AUTHORS (In addition to CIT):
|
25 |
* 2008 Geographic Information research group: http://www.geoinfo.uji.es
|
26 |
* Departamento de Lenguajes y Sistemas Inform?ticos (LSI)
|
27 |
* Universitat Jaume I
|
28 |
* {{Task}}
|
29 |
*/
|
30 |
|
31 |
package org.gvsig.metadata; |
32 |
|
33 |
import java.util.Date; |
34 |
|
35 |
public interface Metadata { |
36 |
|
37 |
//public Metadata();
|
38 |
public Object get(String name); |
39 |
public boolean getBoolean(String name) throws ClassCastException; |
40 |
public double getDouble(String name) throws ClassCastException; |
41 |
public int getInt(String name) throws ClassCastException; |
42 |
public String getString(String name) throws ClassCastException; |
43 |
public Date getDate(String name) throws ClassCastException; |
44 |
public void set(String name, Object value); |
45 |
public void setBoolean(String name, boolean value); |
46 |
public void setDouble(String name, double value); |
47 |
public void setInt(String name, int value); |
48 |
public void setString(String name, String value); |
49 |
public void setDate(String name, Date value); |
50 |
public boolean hasValue(String name); |
51 |
public boolean isEmpty(); |
52 |
} |