01: /*
02: * uDig - User Friendly Desktop Internet GIS client
03: * http://udig.refractions.net
04: * (C) 2004, Refractions Research Inc.
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 net.refractions.udig.catalog.internal;
18:
19: import java.net.URL;
20:
21: import net.refractions.udig.catalog.ICatalogInfo;
22:
23: /**
24: * Provides metadata for a catalog
25: *
26: * @author David Zwiers, Refractions Research
27: * @since 0.6
28: */
29: public class CatalogInfoImpl extends ICatalogInfo {
30:
31: CatalogInfoImpl() {
32: super (null, null, null, null);
33: }
34:
35: /**
36: * Construct <code>CatalogInfoImpl</code>.
37: *
38: * @param title
39: * @param description
40: * @param source
41: * @param keywords
42: */
43: public CatalogInfoImpl(String title, String description,
44: URL source, String[] keywords) {
45: super (title, description, source, keywords);
46: }
47:
48: /**
49: * @param desc The desc to set.
50: */
51: void setDesc(String desc) {
52: this .description = desc;
53: }
54:
55: /**
56: * @param keywords The keywords to set.
57: */
58: void setKeywords(String[] keywords) {
59: this .keywords = keywords;
60: }
61:
62: /**
63: * @param source The source to set.
64: */
65: void setSource(URL source) {
66: this .source = source;
67: }
68:
69: /**
70: * @param title The title to set.
71: */
72: void setTitle(String title) {
73: this.title = title;
74: }
75: }
|