org.topbraid.spin.model
Interface TemplateCall

All Superinterfaces:
ModuleCall

public interface TemplateCall
extends ModuleCall

A template call.

Author:
Holger Knublauch

Method Summary
 java.util.Map<Argument,RDFNode> getArgumentsMap()
          Gets a Map from ArgumentDescriptors to RDFNodes.
 java.util.Map<Property,RDFNode> getArgumentsMapByProperties()
          Gets a Map from Properties to RDFNodes derived from the ArgumentDescriptors.
 java.util.Map<java.lang.String,RDFNode> getArgumentsMapByVarNames()
          Gets a Map from variable names to RDFNodes derived from the ArgumentDescriptors.
 java.lang.String getQueryString()
          Gets this template call as a parsable SPARQL string, with all pre-bound argument variables inserted as constants.
 Template getTemplate()
          Gets the associated Template, from the SPINModules registry.
 

Method Detail

getArgumentsMap

java.util.Map<Argument,RDFNode> getArgumentsMap()
Gets a Map from ArgumentDescriptors to RDFNodes.

Returns:
a Map from ArgumentDescriptors to RDFNodes

getArgumentsMapByProperties

java.util.Map<Property,RDFNode> getArgumentsMapByProperties()
Gets a Map from Properties to RDFNodes derived from the ArgumentDescriptors.

Returns:
a Map from Properties to RDFNodes

getArgumentsMapByVarNames

java.util.Map<java.lang.String,RDFNode> getArgumentsMapByVarNames()
Gets a Map from variable names to RDFNodes derived from the ArgumentDescriptors.

Returns:
a Map from variable names to RDFNodes

getQueryString

java.lang.String getQueryString()
Gets this template call as a parsable SPARQL string, with all pre-bound argument variables inserted as constants.

Returns:
a SPARQL query string

getTemplate

Template getTemplate()
Gets the associated Template, from the SPINModules registry.

Returns:
the template