01: /*
02: * Geotools2 - OpenSource mapping toolkit
03: * http://geotools.org
04: * (C) 2002-2006, Geotools Project Managment Committee (PMC)
05: *
06: * This library is free software; you can redistribute it and/or
07: * modify it under the terms of the GNU Lesser General Public
08: * License as published by the Free Software Foundation;
09: * version 2.1 of the License.
10: *
11: * This library 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 GNU
14: * Lesser General Public License for more details.
15: *
16: */
17: package org.geotools.data.shapefile.shp.xml;
18:
19: /**
20: * Bean capturing shapefile metadata information.
21: * <p>
22: * To create please use the included ShpXmlFileReader, this is
23: * only a data object.
24: * </p><p>
25: * Note: This bean currently extends MetadataEntity to allow for uses
26: * with Discovery.search( QueryRequest ). When QueryRequest can actually
27: * handle normal java beans we can remove this restrictions.
28: * </p>
29: * @author jgarnett
30: * @since 0.3
31: * @source $URL: http://svn.geotools.org/geotools/tags/2.4.1/modules/plugin/shapefile/src/main/java/org/geotools/data/shapefile/shp/xml/Metadata.java $
32: */
33: public class Metadata {
34:
35: /** identification information */
36: IdInfo idinfo;
37:
38: /**
39: * @return Returns the idinfo.
40: */
41: public IdInfo getIdinfo() {
42: return idinfo;
43: }
44:
45: /**
46: * @param idinfo The idinfo to set.
47: */
48: public void setIdinfo(IdInfo idinfo) {
49: this.idinfo = idinfo;
50: }
51: }
|