cz.zcu.fav.kiv.cs
Class CSCalendarEvent

java.lang.Object
  extended bycz.zcu.fav.kiv.cs.CSCalendarEvent
All Implemented Interfaces:
java.lang.Comparable

public class CSCalendarEvent
extends java.lang.Object
implements java.lang.Comparable

Describes the event of CSProcess in calendar.

Version:
2.0
Author:
Antonin Kunes

Constructor Summary
CSCalendarEvent(double time, int ID, java.lang.String message, int fromWho)
          Creates a new event of the specified process.
 
Method Summary
 int compareTo(java.lang.Object o)
          Used for sorting of the calendar.
 int getFromWho()
           
 int getID()
           
 java.lang.String getMessage()
           
 double getTime()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSCalendarEvent

public CSCalendarEvent(double time,
                       int ID,
                       java.lang.String message,
                       int fromWho)
Creates a new event of the specified process.

Method Detail

getID

public int getID()

getMessage

public java.lang.String getMessage()

getTime

public double getTime()

getFromWho

public int getFromWho()

compareTo

public int compareTo(java.lang.Object o)
Used for sorting of the calendar.

Specified by:
compareTo in interface java.lang.Comparable