Interface DataSnippet


@NonExtendable public interface DataSnippet
Definition of an accessor for snippet information.
Since:
5.2.416
  • Method Summary

    Modifier and Type
    Method
    Description
    @Nullable String
    Provides the extract text being used as a long representation of the given object.
    @NotNull String
    Provides the header text being used as a short representation of the given object.
    @Nullable Image<?>
    Provides a thumbnail image resource for the given object or null if no thumbnail representation is available.
  • Method Details

    • getThumbnail

      @Nullable @Nullable Image<?> getThumbnail()
      Provides a thumbnail image resource for the given object or null if no thumbnail representation is available.
      Returns:
      The thumbnail image or null.
      Since:
      5.2.416
    • getHeader

      @NotNull @NotNull String getHeader()
      Provides the header text being used as a short representation of the given object.
      Returns:
      The header text.
      Since:
      5.2.416
    • getExtract

      @Nullable @Nullable String getExtract()
      Provides the extract text being used as a long representation of the given object.
      Returns:
      The extract text or null.
      Since:
      5.2.416