org.eclipse.rdf4j.spin

## Class Argument

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

-     public class Argument
      extends Object

  Class to represent a SPIN argument.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Argument(IRI IRI, IRI valueType, boolean optional, Value defaultValue)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Value` | `getDefaultValue()`
    `IRI` | `getPredicate()`
    `IRI` | `getValueType()`
    `boolean` | `isOptional()`
    `String` | `toString()`

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

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

- - ### Constructor Detail

    - #### Argument

          public Argument(IRI IRI,
                          IRI valueType,
                          boolean optional,
                          Value defaultValue)

  - ### Method Detail

    - #### getPredicate

          public IRI getPredicate()

    - #### getValueType

          public IRI getValueType()

    - #### isOptional

          public boolean isOptional()

    - #### getDefaultValue

          public Value getDefaultValue()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

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