planet.simulate
Class Event

java.lang.Object
  extended byplanet.simulate.Event
All Implemented Interfaces:
IEvent, java.io.Serializable

public class Event
extends java.lang.Object
implements IEvent, java.io.Serializable

Author:
Pedro García, Carles Pairot To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments
See Also:
Serialized Form

Constructor Summary
Event(Id from, Id to, int type, int times)
           
Event(Id from, Id to, int type, int times, int time)
           
 
Method Summary
 Id getFrom()
           
 int getTime()
           
 int getTimes()
           
 Id getTo()
           
 int getType()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Event

public Event(Id from,
             Id to,
             int type,
             int times)

Event

public Event(Id from,
             Id to,
             int type,
             int times,
             int time)
Method Detail

getFrom

public Id getFrom()
Specified by:
getFrom in interface IEvent

getTo

public Id getTo()
Specified by:
getTo in interface IEvent

getType

public int getType()
Specified by:
getType in interface IEvent

getTimes

public int getTimes()
Specified by:
getTimes in interface IEvent

getTime

public int getTime()
Specified by:
getTime in interface IEvent

toString

public java.lang.String toString()