Interface InternalVersion

    • Method Detail

      • getName

        Name getName()
        Returns the name of this version.
        Returns:
        the name of this version.
      • getFrozenNode

        InternalFrozenNode getFrozenNode()
        Returns the frozen node of this version.
        Returns:
        the frozen node.
      • getFrozenNodeId

        NodeId getFrozenNodeId()
        Returns the node id of the frozen node.
        Returns:
        the node id of the frozen node;
      • isMoreRecent

        boolean isMoreRecent​(InternalVersion v)
        Checks if this version is more recent than the given version v. A version is more recent if and only if it is a successor (or a successor of a successor, etc., to any degree of separation) of the compared one.
        Parameters:
        v - the version to check
        Returns:
        true if the version is more recent; false otherwise.
      • getVersionHistory

        InternalVersionHistory getVersionHistory()
        returns the internal version history in which this version lives in.
        Returns:
        the version history for this version.
      • isRootVersion

        boolean isRootVersion()
        checks if this is the root version.
        Returns:
        true if this version is the root version; false otherwise.
      • hasLabel

        boolean hasLabel​(Name label)
        Checks, if this version has the given label associated
        Parameters:
        label - the label to check.
        Returns:
        true if the label is assigned to this version; false otherwise.
      • getLabels

        Name[] getLabels()
        returns the labels that are assigned to this version
        Returns:
        a string array of labels.