uk.ac.ebi.intenz.domain.history
Class FutureEvent

java.lang.Object
  extended by uk.ac.ebi.intenz.domain.DomainObject
      extended by uk.ac.ebi.intenz.domain.history.HistoryEvent
          extended by 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

Field Summary
 
Fields inherited from class uk.ac.ebi.intenz.domain.history.HistoryEvent
afterNode, beforeNode, date, eventClass, eventId, groupId, note
 
Fields inherited from class uk.ac.ebi.intenz.domain.DomainObject
id
 
Constructor Summary
FutureEvent()
          Nothing special here.
 
Method Summary
 boolean equals(Object o)
          Checks if two FutureEvent objects are equal.
 Status getStatus()
           
 Timeout getTimeout()
           
 int hashCode()
          Calculates a unique hash code.
 void setStatus(Status status)
           
 void setTimeout(Timeout timeout)
           
 
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
 
Methods inherited from class uk.ac.ebi.intenz.domain.DomainObject
getId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FutureEvent

public FutureEvent()
Nothing special here.

Method Detail

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.