Annotation Interface Iri


@Retention(RUNTIME) @Repeatable(Iris.class) public @interface Iri
This annotation has different semantics depending on where it appears. The following rules are taken from Alibaba for compatibility reasons:
  • Class level: the RDF type
  • Attribute: the RDF property
  • Method: Allows for reference to a method by IRI. This is mainly used for reflection-based derivation of SPARQL extension functions from annotated functions.
  • Method Parameter: Allows reference for a function. This is mainly used for reflection-based "function ontology" derivations from method paramaters.
If the value is an empty string, the annotated property's name will be treated as a relative IRI.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
     
     
  • Element Details

    • value

      String value
      Default:
      ""
    • deprecated

      boolean deprecated
      Default:
      false