com.xinapse.multisliceimage.roi
Class HistoryItem

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

public class HistoryItem
extends java.lang.Object
implements java.lang.Cloneable

A Class representing an item in the life and history of an ROI. Used in the audit trail.


Constructor Summary
HistoryItem(HistoryType action)
          Create a new HistoryItem with the specfied action,.
 
Method Summary
 HistoryItem clone()
           
 HistoryType getAction()
          Return the action performed in this HistoryItem.
 java.lang.String getActionString()
          Return the action performed in this HistoryItem as a java.lang.String.
 java.lang.String getID()
          Return the ID of the operator who performed the action in this HistoryItem.
 java.util.Date getTimeStamp()
          Return the time at which the action was performed in this HistoryItem.
 java.lang.String getTimeStampString()
          Return the time at which the action was performed in this HistoryItem as a java.lang.String.
 java.lang.String toString()
          Return a java.lang.String describing this HistoryItem.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HistoryItem

public HistoryItem(HistoryType action)
Create a new HistoryItem with the specfied action,.

Parameters:
action - the type of action performed.
Method Detail

getAction

public HistoryType getAction()
Return the action performed in this HistoryItem.

Returns:
the action performed.

getActionString

public java.lang.String getActionString()
Return the action performed in this HistoryItem as a java.lang.String.

Returns:
the action performed as a String.

getTimeStamp

public java.util.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 java.lang.String getTimeStampString()
Return the time at which the action was performed in this HistoryItem as a java.lang.String.

Returns:
the time at which the action was performed as a String.

getID

public java.lang.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 java.lang.Object

toString

public java.lang.String toString()
Return a java.lang.String describing this HistoryItem.

Overrides:
toString in class java.lang.Object


Copyright 2006-2011 Xinapse Systems Limited. All Rights Reserved.