org.topbraid.spin.model
Interface FunctionCall

All Superinterfaces:
ModuleCall, Printable

public interface FunctionCall
extends Printable, ModuleCall

Part of a SPARQL expression that calls a Function.

Author:
Holger Knublauch

Method Summary
 java.util.List<RDFNode> getArguments()
          Gets a list of argument RDFNodes, whereby each RDFNode is already cast into the most specific subclass possible.
 java.util.Map<Property,RDFNode> getArgumentsMap()
          Gets a Map from properties (such as sp:arg1, sp:arg2) to their declared argument values.
 Resource getFunction()
          Gets the URI Resource of the Function being called here.
 
Methods inherited from interface org.topbraid.spin.model.print.Printable
print
 

Method Detail

getArguments

java.util.List<RDFNode> getArguments()
Gets a list of argument RDFNodes, whereby each RDFNode is already cast into the most specific subclass possible. In particular, arguments are either instances of Variable, FunctionCall or RDFNode (constant)

Returns:
the List of arguments

getArgumentsMap

java.util.Map<Property,RDFNode> getArgumentsMap()
Gets a Map from properties (such as sp:arg1, sp:arg2) to their declared argument values. The map will only contain non-null arguments.

Returns:
a Map of arguments

getFunction

Resource getFunction()
Gets the URI Resource of the Function being called here. The resulting Resource will be in the function's defining Model, for example if loaded into the library from a .spin. file.

Returns:
the function in its original Model