Interface Annotations


public interface Annotations
Annotations for content and resources to provide additional information
  • Method Details

    • audience

      Optional<Set<Role>> audience()
      The intended audience for the data or object
      Returns:
      the roles which make up the audience
    • priority

      OptionalDouble priority()
      How important the data is.

      1.0 indicates the greatest importance, 0.0 indicates the least importance

      Returns:
      the priority, between 1.0 and 0.0
    • lastModified

      Optional<Instant> lastModified()
      When the data or object was last modified
      Returns:
      the last modified timestamp
    • builder

      static Annotations.Builder builder()
      Creates a new builder for Annotations
      Returns:
      the new builder instance