001 // $Header:
002 // /cvsroot/deegree/src/org/deegree/ogcwebservices/getcapabilities/Contents.java,v
003 // 1.1 2004/06/23 11:55:40 mschneider Exp $
004 /*---------------- FILE HEADER ------------------------------------------
005
006 This file is part of deegree.
007 Copyright (C) 2001 by:
008 EXSE, Department of Geography, University of Bonn
009 http://www.giub.uni-bonn.de/exse/
010 lat/lon Fitzke/Fretter/Poth GbR
011 http://www.lat-lon.de
012
013 This library is free software; you can redistribute it and/or
014 modify it under the terms of the GNU Lesser General Public
015 License as published by the Free Software Foundation; either
016 version 2.1 of the License, or (at your option) any later version.
017
018 This library is distributed in the hope that it will be useful,
019 but WITHOUT ANY WARRANTY; without even the implied warranty of
020 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
021 Lesser General Public License for more details.
022
023 You should have received a copy of the GNU Lesser General Public
024 License along with this library; if not, write to the Free Software
025 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
026
027 Contact:
028
029 Andreas Poth
030 lat/lon Fitzke/Fretter/Poth GbR
031 Meckenheimer Allee 176
032 53115 Bonn
033 Germany
034 E-Mail: poth@lat-lon.de
035
036 Jens Fitzke
037 Department of Geography
038 University of Bonn
039 Meckenheimer Allee 166
040 53115 Bonn
041 Germany
042 E-Mail: jens.fitzke@uni-bonn.de
043
044
045 ---------------------------------------------------------------------------*/
046 package org.opengis.filter.capability;
047
048 // Annotations
049 import java.util.Collection;
050 import java.util.List;
051
052 import org.opengis.annotation.UML;
053 import static org.opengis.annotation.Specification.*;
054
055 /**
056 * Function provided in a filter capabilities.
057 * <p>
058 * <pre>
059 * <xsd:complexType name="FunctionNameType">
060 * <xsd:simpleContent>
061 * <xsd:extension base="xsd:string">
062 * <xsd:attribute name="nArgs" type="xsd:string" use="required"/>
063 * </xsd:extension>
064 * </xsd:simpleContent>
065 * </xsd:complexType>
066 * </pre>
067 * </p>
068 *
069 * @author <a href="mailto:tfr@users.sourceforge.net">Torsten Friebe </A>
070 * @author Justin Deoliveira, The Open Planning Project
071 */
072 public interface FunctionName extends Operator {
073 /**
074 * Number of arguments the function accepts.
075 * <p>
076 * <pre>
077 * <xsd:attribute name="nArgs" type="xsd:string" use="required"/>
078 * </pre>
079 * </p>
080 */
081 @UML(identifier="argumentCount", specification=UNSPECIFIED)
082 int getArgumentCount();
083
084 /**
085 * Argument names for documentation purposes if known.
086 *
087 * @return Argument names (for documentation purposes) if known
088 */
089 List<String> getArgumentNames();
090 }