Package com.xinapse.multisliceimage.roi
Class HistoryItem
java.lang.Object
com.xinapse.multisliceimage.roi.HistoryItem
- All Implemented Interfaces:
Cloneable
A Class representing an item in the life and history of an ROI. Used in the audit trail.
-
Constructor Summary
ConstructorsConstructorDescriptionHistoryItem(HistoryType action) Create a newHistoryItemwith the specfied action,. -
Method Summary
Modifier and TypeMethodDescriptionclone()Return the action performed in thisHistoryItem.Return the action performed in thisHistoryItemas aString.getID()Return the ID of the operator who performed the action in thisHistoryItem.Return the time at which the action was performed in thisHistoryItem.Return the time at which the action was performed in thisHistoryItemas aString.toString()Return aStringdescribing thisHistoryItem.
-
Constructor Details
-
HistoryItem
Create a newHistoryItemwith the specfied action,.- Parameters:
action- the type of action performed.
-
-
Method Details
-
getAction
Return the action performed in thisHistoryItem.- Returns:
- the action performed.
-
getActionString
Return the action performed in thisHistoryItemas aString.- Returns:
- the action performed as a String.
-
getTimeStamp
Return the time at which the action was performed in thisHistoryItem.- Returns:
- the time at which the action was performed.
-
getTimeStampString
Return the time at which the action was performed in thisHistoryItemas aString.- Returns:
- the time at which the action was performed as a String.
-
getID
Return the ID of the operator who performed the action in thisHistoryItem.- Returns:
- the ID of the operator who performed the action.
-
clone
-
toString
Return aStringdescribing thisHistoryItem.
-