|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjade.domain.introspection.EventRecord
public class EventRecord
This class represents the event-record concept in the
jade-introspection ontology.
| Constructor Summary | |
|---|---|
EventRecord()
Default constructor. |
|
EventRecord(Event evt,
Location l)
Construct an event record, attaching a location and a timestamp to an event object. |
|
| Method Summary | |
|---|---|
Event |
getWhat()
Retrieve the value of the what slot of this
event, containing the occurred event. |
java.util.Date |
getWhen()
Retrieve the value of the when slot of this event,
containing the time instant when the event occurred. |
Location |
getWhere()
Retrieve the value of the where slot of this
event, containing the location where the event occurred. |
void |
setWhat(Event evt)
Set the what slot of this event. |
void |
setWhen(java.util.Date d)
Set the when slot of this event. |
void |
setWhere(Location l)
Set the where slot of this event. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EventRecord()
public EventRecord(Event evt,
Location l)
evt - The occurred event.l - The location where the event occurred.| Method Detail |
|---|
public void setWhat(Event evt)
what slot of this event.
id - The occurred event.public Event getWhat()
what slot of this
event, containing the occurred event.
what slot, or
null if no value was set.public void setWhen(java.util.Date d)
when slot of this event.
d - The time instant when the event occurred.public java.util.Date getWhen()
when slot of this event,
containing the time instant when the event occurred.
when slot, or
null if no value was set.public void setWhere(Location l)
where slot of this event.
l - The location where the event occurred.public Location getWhere()
where slot of this
event, containing the location where the event occurred.
where slot, or
null if no value was set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||