Interface IWithChangeTrack

  • All Known Implementing Classes:
    MidFileData, StartGroupData, Unit

    public interface IWithChangeTrack
    Represents an object that can contain a ChangeTrack object. Each class representing a XLIFF element where the change tracking module is allowed, should implement this interface.
    Author:
    Marta Borriello
    • Method Detail

      • getChangeTrack

        ChangeTrack getChangeTrack()
        Gets the ChangeTrack object for this element, creates an empty of if there is none.
        Returns:
        the ChangeTrack object for this element (can be empty, never null).
      • setChangeTrack

        void setChangeTrack​(ChangeTrack changeTrack)
        Sets the ChangeTrack object for this element.
        Parameters:
        changeTrack - the ChangeTrack object for this element.
      • hasChangeTrack

        boolean hasChangeTrack()
        Check if there is at least a revision for this element.
        Returns:
        true if there is at least a revision for this element; false otherwise.