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
ConstructorDescriptionHistoryItem
(HistoryType action) Create a newHistoryItem
with the specfied action,. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Return the action performed in thisHistoryItem
.Return the action performed in thisHistoryItem
as 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 thisHistoryItem
as aString
.toString()
Return aString
describing thisHistoryItem
.
-
Constructor Details
-
HistoryItem
Create a newHistoryItem
with 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 thisHistoryItem
as 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 thisHistoryItem
as 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 aString
describing thisHistoryItem
.
-