|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjasi.sim.basic.value.AbstractSimValueType
jasi.sim.basic.value.AbstractComparableObject<Event>
jasi.sim.basic.event.AbstractEventBean
jasi.simple.model.SimpleEvent
public class SimpleEvent
A simple event.
| Field Summary |
|---|
| Fields inherited from interface jasi.sim.basic.event.Event |
|---|
COMPARATOR, DEFAULT_PRIORITY |
| Constructor Summary | |
|---|---|
SimpleEvent(Time time,
int priority)
Constructor for Events. |
|
SimpleEvent(Time time,
int priority,
SimpleObject object)
Constructor. |
|
SimpleEvent(Time time,
SimpleObject object)
Constructor with default priority. |
|
| Method Summary | |
|---|---|
Id |
getObject()
Get the event's simple object. |
void |
setObject(Id object)
Set the event's simple object. |
java.lang.String |
toString()
Returns a string representation of this object. |
| Methods inherited from class jasi.sim.basic.event.AbstractEventBean |
|---|
addEventListener, calendar, compareTo, equals, getEventListeners, getId, getPriority, getTime, hashCode, imported, inform, isInitialized, isPopped, isPushed, popped, pushed, removeEventListener, setId, setPriority, setTime |
| Methods inherited from class jasi.sim.basic.value.AbstractComparableObject |
|---|
isEQ, isGE, isGT, isLE, isLT, isNE |
| Methods inherited from class jasi.sim.basic.value.AbstractSimValueType |
|---|
getContent |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface jasi.sim.basic.value.ExtendedComparable |
|---|
isEQ, isGE, isGT, isLE, isLT, isNE |
| Constructor Detail |
|---|
public SimpleEvent(Time time,
int priority)
time - The event's time.priority - The event's priority.
public SimpleEvent(Time time,
int priority,
SimpleObject object)
time - The event's time.priority - The event's priority.object - The event object.
public SimpleEvent(Time time,
SimpleObject object)
time - The event's time.object - The event's object.| Method Detail |
|---|
public java.lang.String toString()
toString in class AbstractEventBeanpublic Id getObject()
public void setObject(Id object)
object - The event object.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||