Interface IChange


public interface IChange
Object representation of an atomic change of IPObject, or we can say of status of the object plus changes leading to this status.
Author:
dobisekm
  • Method Details

    • getUser

      String getUser()
      Returns:
      String user name of user who made the change in the repository.
    • getTime

      Date getTime()
      Returns:
      Time of the change.
    • getRevision

      String getRevision()
      Returns:
      Returns null if revision is not applicable. Otherwise returns the revision AFTER the change.
    • isInvalid

      boolean isInvalid()
      Returns:
      true if the diffs could not be determined, due to unresolvable object (could be a corrupted version).
    • isEmpty

      boolean isEmpty()
      Returns:
      true, if nothing was actually changed in this change.
    • isCreation

      boolean isCreation()
      Returns:
      true if the object was created by this change. The diff if empty in such a case.
    • getDiffs

      IFieldDiff[] getDiffs()
      Returns:
      The array of field diffs changed in this change. If isInvalid() or isCreation(), then the array is empty.
    • getChangedFields

      List<String> getChangedFields()
      Since:
      3.5.2