uk.ac.ebi.intenz.domain.history
Class FutureEvent
java.lang.Object
uk.ac.ebi.intenz.domain.DomainObject
uk.ac.ebi.intenz.domain.history.HistoryEvent
uk.ac.ebi.intenz.domain.history.FutureEvent
- All Implemented Interfaces:
- Comparable<HistoryEvent>
public class FutureEvent
- extends HistoryEvent
A future event adds some information to a history event as it has a status and a timeout associated.
- Version:
- $Revision: 1.2 $ $Date: 2008/01/28 12:33:04 $
- Author:
- Michael Darsow
Constructor Summary |
FutureEvent()
Nothing special here. |
Methods inherited from class uk.ac.ebi.intenz.domain.history.HistoryEvent |
compareTo, getAfterNode, getBeforeNode, getDate, getEventClass, getEventId, getGroupId, getNote, getRelative, isSuccessor, setAfterNode, setBeforeNode, setDate, setEventClass, setEventId, setGroupId, setNote |
FutureEvent
public FutureEvent()
- Nothing special here.
equals
public boolean equals(Object o)
- Checks if two
FutureEvent
objects are equal.
- Overrides:
equals
in class HistoryEvent
- Parameters:
o
- The other HistoryEvent
to compare with this one.
- Returns:
true
, if the two objects are equal.
hashCode
public int hashCode()
- Calculates a unique hash code.
- Overrides:
hashCode
in class HistoryEvent
- Returns:
- the hash code.
getStatus
public Status getStatus()
setStatus
public void setStatus(Status status)
getTimeout
public Timeout getTimeout()
setTimeout
public void setTimeout(Timeout timeout)
Copyright © 2013 EMBL-EBI. All Rights Reserved.