001    //$HeadURL: svn+ssh://rbezema@svn.wald.intevation.org/deegree/base/branches/2.2_testing/src/org/deegree/ogcwebservices/wps/describeprocess/SupportedComplexData.java $
002    /*----------------    FILE HEADER  ------------------------------------------
003    
004     This file is part of deegree.
005     Copyright (C) 2001-2008 by:
006     EXSE, Department of Geography, University of Bonn
007     http://www.giub.uni-bonn.de/exse/
008     lat/lon GmbH
009     http://www.lat-lon.de
010    
011     This library is free software; you can redistribute it and/or
012     modify it under the terms of the GNU Lesser General Public
013     License as published by the Free Software Foundation; either
014     version 2.1 of the License, or (at your option) any later version.
015    
016     This library is distributed in the hope that it will be useful,
017     but WITHOUT ANY WARRANTY; without even the implied warranty of
018     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
019     Lesser General Public License for more details.
020    
021     You should have received a copy of the GNU Lesser General Public
022     License along with this library; if not, write to the Free Software
023     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
024    
025     Contact:
026    
027     Andreas Poth
028     lat/lon GmbH
029     Aennchenstraße 19
030     53177 Bonn
031     Germany
032     E-Mail: poth@lat-lon.de
033    
034     Prof. Dr. Klaus Greve
035     Department of Geography
036     University of Bonn
037     Meckenheimer Allee 166
038     53115 Bonn
039     Germany
040     E-Mail: greve@giub.uni-bonn.de
041     
042     ---------------------------------------------------------------------------*/
043    
044    package org.deegree.ogcwebservices.wps.describeprocess;
045    
046    /**
047     * SupportedComplexData.java
048     * 
049     * Created on 09.03.2006. 22:27:42h
050     * 
051     * A combination of format, encoding, and/or schema supported by a process input or output.
052     * 
053     * @author <a href="mailto:christian@kiehle.org">Christian Kiehle</a>
054     * @author <a href="mailto:christian.heier@gmx.de">Christian Heier</a>
055     * @author last edited by: $Author:wanhoff$
056     * 
057     * @version $Revision: 9345 $, $Date:20.03.2007$
058     */
059    public class SupportedComplexData {
060    
061        /**
062         * @param encoding
063         * @param format
064         * @param schema
065         */
066        public SupportedComplexData( String encoding, String format, String schema ) {
067            this.encoding = encoding;
068            this.format = format;
069            this.schema = schema;
070        }
071    
072        /**
073         * Format supported for this input or output (e.g., text/XML). This element shall be included
074         * when the format for this ComplexDataType differs from the defaultFormat for this
075         * Input/Output. This element shall not be included if there is only one (i.e., the default)
076         * format supported for this Input/Output, or Format does not apply to this Input/Output.
077         */
078        protected String format;
079    
080        /**
081         * Reference to an encoding supported for this input or output (e.g., UTF-8). This element shall
082         * be included when the encoding for this ComplexDataType differs from the defaultEncoding for
083         * this Input/Output. This element shall not be included if there is only one (i.e., the
084         * default) encoding supported for this Input/Output, or Encoding does not apply to this
085         * Input/Output.
086         * 
087         */
088        protected String encoding;
089    
090        /**
091         * Reference to a definition of XML elements or types supported for this Input or Output (e.g.,
092         * GML 2.1 Application Schema). Each of these XML elements or types shall be defined in a
093         * separate XML Schema Document. This element shall be included when the schema for this
094         * ComplexDataType differs from the defaultSchema for this Input/Output. This element shall not
095         * be included if there is only one (i.e., the default) XML Schema Document supported for this
096         * Input/Output, or Schema does not apply to this Input/Output.
097         * 
098         */
099        protected String schema;
100    
101        /**
102         * @return Returns the format.
103         */
104        public String getFormat() {
105            return format;
106        }
107    
108        /**
109         * @param value
110         *            The format to set.
111         */
112        public void setFormat( String value ) {
113            this.format = value;
114        }
115    
116        /**
117         * @return Returns the encoding.
118         */
119        public String getEncoding() {
120            return encoding;
121        }
122    
123        /**
124         * @param value
125         *            The encoding to set.
126         */
127        public void setEncoding( String value ) {
128            this.encoding = value;
129        }
130    
131        /**
132         * @return Returns the schema.
133         */
134        public String getSchema() {
135            return schema;
136        }
137    
138        /**
139         * @param value
140         *            The schema to set.
141         */
142        public void setSchema( String value ) {
143            this.schema = value;
144        }
145    
146    }