A function that may be used in filter expressions.
The description of each function includes a declaration of the return type,
the list of arguments with optional names and expected types.
- Since:
- 3.1
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault List
<? extends ParameterDescriptor<?>> Returns the list of arguments expected by the function.getName()
Returns the function name.Returns the type of return value.
-
Method Details
-
getName
Returns the function name.- Returns:
- the function name.
-
getReturnType
Returns the type of return value.- Returns:
- the type of return value.
Departure from OGC/ISO standard for closer integration with the Java environment
OGC/ISO defines the return type asorg.opengis.util.ScopedName
. However this is at odd with other classes returning type information, which useTypeName
. -
getArguments
@UML(identifier="arguments", obligation=OPTIONAL, specification=ISO_19143) default List<? extends ParameterDescriptor<?>> getArguments()Returns the list of arguments expected by the function.Unified parameter API
In GeoAPI, theArgument
type defined by ISO 19143 is replaced byParameterDescriptor
in order to provide a single parameter API (seeorg.opengis.parameter
for more information). The mapping from ISO 19143 to GeoAPI is defined in the following table. The equivalences are straightforward except for the types:name
is mapped to anIdentifier
instead ofLocalName
, andtype
is mapped to anTypeName
instead ofScopedName
.Argument properties mapped to GeoAPI Argument
propertyParameterDescriptor
propertyname
name
type
valueType
- Returns:
- arguments that the function accepts.
Departure from OGC/ISO standard for harmonization between different specifications
Usage of the ISO 19143Argument
type has been replaced by usage of the ISO 19111OperationParameter
type in order to provide a unified parameter API.
-