org.opengis.filter.capability
Interface FunctionName

All Superinterfaces:
Operator
All Known Implementing Classes:
FunctionNameImpl

public interface FunctionName
extends Operator

Function description provided in a filter capabilities.

 <xsd:complexType name="FunctionNameType">
     <xsd:simpleContent>
        <xsd:extension base="xsd:string">
           <xsd:attribute name="nArgs" type="xsd:string" use="required"/>
        </xsd:extension>
     </xsd:simpleContent>
  </xsd:complexType>
 

We have extended this idea to include a list of argument names to better serve interactive clients.

Author:
Torsten Friebe , Justin Deoliveira, The Open Planning Project

Method Summary
 int getArgumentCount()
          Number of arguments the function accepts.
 List<String> getArgumentNames()
          Argument names for documentation purposes if known.
 List<Parameter<?>> getArguments()
          Arguments for the function accepts.
 Name getFunctionName()
          The qualified name of the function.
 Parameter<?> getReturn()
          Return type of the function.
 
Methods inherited from interface Operator
equals, getName, hashCode
 

Method Detail

getFunctionName

Name getFunctionName()
The qualified name of the function.

Client code should this method over Operator.getName() to handle qualified names.


getArgumentCount

@UML(identifier="argumentCount",
     specification=UNSPECIFIED)
int getArgumentCount()
Number of arguments the function accepts.

 <xsd:attribute name="nArgs" type="xsd:string" use="required"/>
 

This value is derived from getArguments()


getArgumentNames

List<String> getArgumentNames()
Argument names for documentation purposes if known.

This value is derived from getArguments()

Returns:
Argument names (for documentation purposes) if known

getArguments

List<Parameter<?>> getArguments()
Arguments for the function accepts.


getReturn

Parameter<?> getReturn()
Return type of the function.



Copyright © 1996-2014 Geotools. All Rights Reserved.