001 //$HeadURL: https://svn.wald.intevation.org/svn/deegree/base/branches/2.3_testing/src/org/deegree/ogcwebservices/wps/describeprocess/OutputDescription.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
037 package org.deegree.ogcwebservices.wps.describeprocess;
038
039 import org.deegree.datatypes.Code;
040 import org.deegree.ogcwebservices.wps.WPSDescription;
041
042 /**
043 * OutputDescription.java
044 *
045 * Created on 09.03.2006. 22:37:03h
046 *
047 * Description of a process Output.
048 *
049 * @author <a href="mailto:christian@kiehle.org">Christian Kiehle</a>
050 * @author <a href="mailto:christian.heier@gmx.de">Christian Heier</a>
051 * @author last edited by: $Author:wanhoff$
052 *
053 * @version $Revision: 18195 $, $Date:20.03.2007$
054 */
055 public class OutputDescription extends WPSDescription {
056
057 /**
058 * Indicates that this Output shall be a complex data structure (such as a GML fragment) that is
059 * returned by the execute operation response. The value of this complex data structure can be
060 * output either embedded in the execute operation response or remotely accessible to the
061 * client. When this output form is indicated, the process produces only a single output, and
062 * "store" is "false, the output shall be returned directly, without being embedded in the XML
063 * document that is otherwise provided by execute operation response. This element also provides
064 * a list of format, encoding, and schema combinations supported for this output. The client can
065 * select from among the identified combinations of formats, encodings, and schemas to specify
066 * the form of the output. This allows for complete specification of particular versions of GML,
067 * or image formats.
068 */
069 protected ComplexData complexOutput;
070
071 /**
072 * Indicates that this output shall be a simple literal value (such as an integer) that is
073 * embedded in the execute response, and describes that output.
074 */
075 protected LiteralOutput literalOutput;
076
077 /**
078 * Indicates that this output shall be a BoundingBox data structure, and provides a list of the
079 * CRSs supported in these Bounding Boxes. This element shall be included when this process
080 * output is an ows:BoundingBox element.
081 */
082 protected SupportedCRSs boundingBoxOutput;
083
084 /**
085 *
086 * @param identifier
087 * @param title
088 * @param _abstract
089 * @param boundingBoxOutput
090 * @param complexOutput
091 * @param literalOutput
092 */
093 public OutputDescription( Code identifier, String title, String _abstract,
094 SupportedCRSs boundingBoxOutput, ComplexData complexOutput,
095 LiteralOutput literalOutput ) {
096 super( identifier, title, _abstract );
097 this.boundingBoxOutput = boundingBoxOutput;
098 this.complexOutput = complexOutput;
099 this.literalOutput = literalOutput;
100 }
101
102 /**
103 * @return Returns the complexOutput.
104 */
105 public ComplexData getComplexOutput() {
106 return complexOutput;
107 }
108
109 /**
110 * @param value
111 * The complexOutput to set.
112 */
113 public void setComplexOutput( ComplexData value ) {
114 this.complexOutput = value;
115 }
116
117 /**
118 * Gets the value of the literalOutput property.
119 *
120 * @return the value of the literalOutput property.
121 */
122 public LiteralOutput getLiteralOutput() {
123 return literalOutput;
124 }
125
126 /**
127 * Sets the value of the literalOutput property.
128 *
129 * @param value
130 */
131 public void setLiteralOutput( LiteralOutput value ) {
132 this.literalOutput = value;
133 }
134
135 /**
136 * Gets the value of the boundingBoxOutput property.
137 *
138 * @return possible object is {@link SupportedCRSs }
139 */
140 public SupportedCRSs getBoundingBoxOutput() {
141 return boundingBoxOutput;
142 }
143
144 /**
145 * @param value
146 * The boundingBoxOutput to set.
147 */
148 public void setBoundingBoxOutput( SupportedCRSs value ) {
149 this.boundingBoxOutput = value;
150 }
151
152 }