001    // $HeadURL: svn+ssh://jwilden@svn.wald.intevation.org/deegree/base/branches/2.5_testing/src/org/deegree/ogcwebservices/wfs/capabilities/GMLObject.java $
002    /*----------------------------------------------------------------------------
003     This file is part of deegree, http://deegree.org/
004     Copyright (C) 2001-2009 by:
005       Department of Geography, University of Bonn
006     and
007       lat/lon GmbH
008    
009     This library is free software; you can redistribute it and/or modify it under
010     the terms of the GNU Lesser General Public License as published by the Free
011     Software Foundation; either version 2.1 of the License, or (at your option)
012     any later version.
013     This library is distributed in the hope that it will be useful, but WITHOUT
014     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
015     FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
016     details.
017     You should have received a copy of the GNU Lesser General Public License
018     along with this library; if not, write to the Free Software Foundation, Inc.,
019     59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
020    
021     Contact information:
022    
023     lat/lon GmbH
024     Aennchenstr. 19, 53177 Bonn
025     Germany
026     http://lat-lon.de/
027    
028     Department of Geography, University of Bonn
029     Prof. Dr. Klaus Greve
030     Postfach 1147, 53001 Bonn
031     Germany
032     http://www.geographie.uni-bonn.de/deegree/
033    
034     e-mail: info@deegree.org
035    ----------------------------------------------------------------------------*/
036    package org.deegree.ogcwebservices.wfs.capabilities;
037    
038    import org.deegree.datatypes.QualifiedName;
039    import org.deegree.model.metadata.iso19115.Keywords;
040    
041    /**
042     * <code>GMLObject</code> encapsulate a gml object
043     *
044     * @author <a href="mailto:mschneider@lat-lon.de">Markus Schneider </a>
045     *
046     * @author last edited by: $Author: mschneider $
047     *
048     * @version $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18 Jun 2009) $
049     *
050     */
051    public class GMLObject {
052    
053        private QualifiedName name;
054    
055        private String title;
056    
057        private String abstract_;
058    
059        private Keywords[] keywords;
060    
061        private FormatType[] outputFormats;
062    
063        /**
064         * @param name of the object
065         * @param title
066         * @param abstract_
067         * @param keywords
068         * @param outputFormats
069         */
070        public GMLObject(QualifiedName name, String title, String abstract_,
071                Keywords[] keywords, FormatType[] outputFormats) {
072            this.name = name;
073            this.title = title;
074            this.abstract_ = abstract_;
075            this.keywords = keywords;
076            this.outputFormats = outputFormats;
077        }
078    
079        /**
080         * @return Returns the abstract.
081         */
082        public String getAbstract() {
083            return abstract_;
084        }
085    
086        /**
087         * @param abstract_
088         *            The abstract to set.
089         */
090        public void setAbstract(String abstract_) {
091            this.abstract_ = abstract_;
092        }
093    
094        /**
095         * @return Returns the keywords.
096         */
097        public Keywords[] getKeywords() {
098            return keywords;
099        }
100    
101        /**
102         * @param keywords
103         *            The keywords to set.
104         */
105        public void setKeywords(Keywords[] keywords) {
106            this.keywords = keywords;
107        }
108    
109        /**
110         * @return Returns the name.
111         */
112        public QualifiedName getName() {
113            return name;
114        }
115    
116        /**
117         * @param name
118         *            The name to set.
119         */
120        public void setName(QualifiedName name) {
121            this.name = name;
122        }
123    
124        /**
125         * @return Returns the outputFormats.
126         */
127        public FormatType[] getOutputFormats() {
128            return outputFormats;
129        }
130    
131        /**
132         * @param outputFormats
133         *            The outputFormats to set.
134         */
135        public void setOutputFormats(FormatType[] outputFormats) {
136            this.outputFormats = outputFormats;
137        }
138    
139        /**
140         * @return Returns the title.
141         */
142        public String getTitle() {
143            return title;
144        }
145    
146        /**
147         * @param title
148         *            The title to set.
149         */
150        public void setTitle(String title) {
151            this.title = title;
152        }
153    }