Class HistoryItem

java.lang.Object
com.xinapse.multisliceimage.roi.HistoryItem
All Implemented Interfaces:
Cloneable

public class HistoryItem extends Object implements Cloneable
A Class representing an item in the life and history of an ROI. Used in the audit trail.
  • Constructor Details

    • HistoryItem

      public HistoryItem(HistoryType action)
      Create a new HistoryItem with the specfied action,.
      Parameters:
      action - the type of action performed.
  • Method Details

    • getAction

      public HistoryType getAction()
      Return the action performed in this HistoryItem.
      Returns:
      the action performed.
    • getActionString

      public String getActionString()
      Return the action performed in this HistoryItem as a String.
      Returns:
      the action performed as a String.
    • getTimeStamp

      public Date getTimeStamp()
      Return the time at which the action was performed in this HistoryItem.
      Returns:
      the time at which the action was performed.
    • getTimeStampString

      public String getTimeStampString()
      Return the time at which the action was performed in this HistoryItem as a String.
      Returns:
      the time at which the action was performed as a String.
    • getID

      public String getID()
      Return the ID of the operator who performed the action in this HistoryItem.
      Returns:
      the ID of the operator who performed the action.
    • clone

      public HistoryItem clone()
      Overrides:
      clone in class Object
    • toString

      public String toString()
      Return a String describing this HistoryItem.
      Overrides:
      toString in class Object