Interface HistoricItem


@NonNullByDefault public interface HistoricItem
This interface is used by persistence services to represent an item with a certain state at a given point in time.

Note that this interface does not extend Item as the persistence services could not provide an implementation that correctly implement getAcceptedXTypes() and getGroupNames().

Author:
Kai Kreuzer - Initial contribution
  • Method Summary

    Modifier and Type
    Method
    Description
    returns the name of the item
    returns the current state of the item
    returns the timestamp of the persisted item
  • Method Details

    • getTimestamp

      ZonedDateTime getTimestamp()
      returns the timestamp of the persisted item
      Returns:
      the timestamp of the item
    • getState

      State getState()
      returns the current state of the item
      Returns:
      the current state
    • getName

      String getName()
      returns the name of the item
      Returns:
      the name of the item