stella
Interface HistoryAware.Pick

All Known Implementing Classes:
AbstractTarget.PickAdapter
Enclosing interface:
HistoryAware

public static interface HistoryAware.Pick

Objects implementing this interface are list elements returned by the HistoryAware.getEntireHistory() method.


Method Summary
 String getComment()
          Returns the comment assigned to this pick.
 Date getDate()
          Returns the date of the observation.
 long getDuration()
          Returns the duration of this observation in ms.
 double getPickMerit()
          Returns the merit the target had as it was picked.
 String getUnique()
          Returns the unique identifier of this observation.
 boolean isSuccess()
          Returns if this observation was successful.
 boolean setSuccess(boolean to)
          Set this observation successful.
 

Method Detail

isSuccess

boolean isSuccess()
Returns if this observation was successful.


setSuccess

boolean setSuccess(boolean to)
Set this observation successful. The only accessor method needed, as a pick might be rendered unsuccessful even some time after it has been taken, thus later than on construct.


getDate

Date getDate()
Returns the date of the observation. Concrete implementation may specify if this means the start, end or the midpoint of the observations.


getDuration

long getDuration()
Returns the duration of this observation in ms.


getUnique

String getUnique()
Returns the unique identifier of this observation.


getPickMerit

double getPickMerit()
Returns the merit the target had as it was picked. Negative values indicate non-known merit.


getComment

String getComment()
Returns the comment assigned to this pick.