Interface IVersionNode<V extends IVersion,​P extends IVersionNode<V,​P>>

  • Type Parameters:
    V - the type of version on which this node is
    P - the type of the previous node
    All Known Implementing Classes:
    VersionNode

    public interface IVersionNode<V extends IVersion,​P extends IVersionNode<V,​P>>
    A node containing a version. Used for chaining of versions.
    Author:
    ActiveViam
    • Method Detail

      • getVersion

        V getVersion()
        Gets the version contained in this node.
        Returns:
        the contained version
      • getPrevious

        P getPrevious()
        Gets the IVersionNode that precedes this version node.
        Returns:
        the IVersionNode that precedes this version node
      • getHistoryNode

        IHistoryNode getHistoryNode()
        The epoch node associated with this version node.
        Returns:
        the epoch node