Annotation Interface Sourceable


Annotation to indicate that a field can be populated from external sources.

This is used in GRSciColl to flag fields whose value comes from other sources rather than GRSciColl such as IH, datasets or organizations.

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
    boolean
    Indicates that a field is initially filled from an external source, but it can be overwritten afterwards.
    Indicates that only some parts are sourceable.
  • Element Details

    • masterSources

      Default:
      {}
    • sourceableParts

      Indicates that only some parts are sourceable. If this field is not set it's assumed that the whole field is sourceable.

      This applies only to lists or similar. For example, a list of identifiers where only the DOI identifiers are sourceable would set this field as {DOI}.

      Default:
      {}
    • overridable

      boolean overridable
      Indicates that a field is initially filled from an external source, but it can be overwritten afterwards.

      E.g.: the names of IH collections.

      Default:
      false