001    // $HeadURL:
002    // /cvsroot/deegree/src/org/deegree/ogcwebservices/getcapabilities/Contents.java,v
003    // 1.1 2004/06/23 11:55:40 mschneider Exp $
004    /*----------------------------------------------------------------------------
005     This file is part of deegree, http://deegree.org/
006     Copyright (C) 2001-2009 by:
007       Department of Geography, University of Bonn
008     and
009       lat/lon GmbH
010    
011     This library is free software; you can redistribute it and/or modify it under
012     the terms of the GNU Lesser General Public License as published by the Free
013     Software Foundation; either version 2.1 of the License, or (at your option)
014     any later version.
015     This library is distributed in the hope that it will be useful, but WITHOUT
016     ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
017     FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
018     details.
019     You should have received a copy of the GNU Lesser General Public License
020     along with this library; if not, write to the Free Software Foundation, Inc.,
021     59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
022    
023     Contact information:
024    
025     lat/lon GmbH
026     Aennchenstr. 19, 53177 Bonn
027     Germany
028     http://lat-lon.de/
029    
030     Department of Geography, University of Bonn
031     Prof. Dr. Klaus Greve
032     Postfach 1147, 53001 Bonn
033     Germany
034     http://www.geographie.uni-bonn.de/deegree/
035    
036     e-mail: info@deegree.org
037    ----------------------------------------------------------------------------*/
038    package org.deegree.model.filterencoding.capabilities;
039    
040    import org.deegree.datatypes.QualifiedName;
041    
042    /**
043     * SpatialOperatorBean
044     *
045     * @author <a href="mailto:schneider@lat-lon.de">Markus Schneider </a>
046     *
047     * @author last edited by: $Author: mschneider $
048     *
049     * @version 2.0, $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18. Jun 2009) $
050     *
051     * @since 2.0
052     */
053    public class SpatialOperator extends Operator {
054    
055        QualifiedName[] geometryOperands;
056    
057        /**
058         * Constructs a new <code>SpatialOperator</code> instance with the given
059         * name. Especially used for creating an instance from an "OpenGIS Filter
060         * Encoding Specification 1.0.0" compliant representation.
061         *
062         * @param name
063         */
064        public SpatialOperator(String name) {
065            super(name);
066        }
067    
068        /**
069         * Constructs a new <code>SpatialOperator</code> instance with the given
070         * name and operands.
071         * Especially used for creating an instance from an "OpenGIS Filter
072         * Encoding Specification 1.1.0" compliant representation.
073         *
074         * @param name
075         * @param geometryOperands
076         */
077        public SpatialOperator(String name, QualifiedName[] geometryOperands) {
078            super(name);
079            this.geometryOperands = geometryOperands;
080        }
081    
082        /**
083         * @return Returns the geometryOperands.
084         */
085        public QualifiedName[] getGeometryOperands() {
086            return geometryOperands;
087        }
088    
089        /**
090         * @param geometryOperands
091         *            The geometryOperands to set.
092         */
093        public void setGeometryOperands(QualifiedName[] geometryOperands) {
094            this.geometryOperands = geometryOperands;
095        }
096    }