Annotation Interface Inlined


@Retention(RUNTIME) @Target(FIELD) public @interface Inlined
An annotation to indicate whether the value(s) of a field should be inlined or not (in serialisations that do support inlining).

When that annotation is not present and the type (“range”, in LinkML parlance) of a field is a class that defines an Identifier slot, then only the identifier is serialised (it is assumed that the full value will be serialised in inline form elsewhere).

When that annotation is present, the slot is expected to be serialised as a dict by default, unless the asList optional parameter is set to true.

  • Optional Element Summary

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

    • asList

      boolean asList
      Default:
      false