public interface FunctionName extends Operator
<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.
Modifier and Type | Method and Description |
---|---|
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.
|
Name getFunctionName()
Client code should this method over Operator.getName()
to handle qualified names.
@UML(identifier="argumentCount", specification=UNSPECIFIED) int getArgumentCount()
add( number1, number2 ) = 2
concat( str1, str2,... ) has -2
<xsd:attribute name="nArgs" type="xsd:string" use="required"/>
This value is derived from getArguments()
List<String> getArgumentNames()
This value is derived from getArguments()
Parameter<?> getReturn()
Copyright © 1996–2019 Geotools. All rights reserved.