org.eclipse.rdf4j.spin

## Class Template

- java.lang.Object
- - org.eclipse.rdf4j.spin.Template

-     public class Template
      extends Object

  Class to represent a SPIN template.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Template(IRI IRI)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addArgument(Argument arg)`
    `ParsedOperation` | `call(Map<IRI,Value> argValues)`
    `List<Argument>` | `getArguments()`
    `ParsedOperation` | `getParsedOperation()`
    `IRI` | `getUri()`
    `void` | `setParsedOperation(ParsedOperation op)`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### Template

          public Template(IRI IRI)

  - ### Method Detail

    - #### getUri

          public IRI getUri()

    - #### setParsedOperation

          public void setParsedOperation(ParsedOperation op)

    - #### getParsedOperation

          public ParsedOperation getParsedOperation()

    - #### addArgument

          public void addArgument(Argument arg)

    - #### getArguments

          public List<Argument> getArguments()

    - #### call

          public ParsedOperation call(Map<IRI,Value> argValues)
                               throws MalformedSpinException

      Throws:
        `MalformedSpinException`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2015-2021 Eclipse Foundation. All Rights Reserved.