001    //$HeadURL: svn+ssh://rbezema@svn.wald.intevation.org/deegree/base/branches/2.2_testing/src/org/deegree/ogcwebservices/wps/describeprocess/LiteralOutput.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    import org.deegree.owscommon.OWSMetadata;
047    
048    /**
049     * LiteralOutput.java
050     * 
051     * Created on 09.03.2006. 22:50:41h
052     * 
053     * Description of a literal output (or input).
054     * 
055     * @author <a href="mailto:christian@kiehle.org">Christian Kiehle</a>
056     * @author <a href="mailto:christian.heier@gmx.de">Christian Heier</a>
057     * @author last edited by: $Author:wanhoff$
058     * 
059     * @version $Revision: 9345 $, $Date:20.03.2007$
060     */
061    public class LiteralOutput {
062    
063        /**
064         * Data type of this set of values (e.g. integer, real, etc). This data type metadata should be
065         * included for each quantity whose data type is not a string.
066         */
067        protected OWSMetadata dataType;
068    
069        /**
070         * List of supported units of measure for this input or output. This element should be included
071         * when this literal has a unit of measure (e.g., "meters", without a more complete reference
072         * system). Not necessary for a count, which has no units.
073         */
074        protected SupportedUOMs supportedUOMs;
075    
076        /**
077         * 
078         * @param domainMetadataType
079         * @param supportedUOMsType
080         */
081        public LiteralOutput( OWSMetadata domainMetadataType, SupportedUOMs supportedUOMsType ) {
082    
083            dataType = domainMetadataType;
084            supportedUOMs = supportedUOMsType;
085        }
086    
087        /**
088         * @return Returns the dataType.
089         */
090        public OWSMetadata getDataType() {
091            return dataType;
092        }
093    
094        /**
095         * @param value
096         *            The dataType to set.
097         */
098        public void setDataType( OWSMetadata value ) {
099            this.dataType = value;
100        }
101    
102        /**
103         * @return the supportedUOMs.
104         */
105        public SupportedUOMs getSupportedUOMs() {
106            return supportedUOMs;
107        }
108    
109        /**
110         * @param value
111         *            The supportedUOMs to set.
112         */
113        public void setSupportedUOMs( SupportedUOMs value ) {
114            this.supportedUOMs = value;
115        }
116    }