jade.domain.introspection
Class Occurred

java.lang.Object
  extended by jade.domain.introspection.Occurred
All Implemented Interfaces:
ContentElement, Predicate, java.io.Serializable

public class Occurred
extends java.lang.Object
implements Predicate

This class represents the occurred predicate, whose argument is a JADE introspection event.

Version:
$Date: 2005-02-16 18:18:28 +0100 (mer, 16 feb 2005) $ $Revision: 5552 $
Author:
Giovanni Rimassa - Universita' di Parma
See Also:
Serialized Form

Constructor Summary
Occurred()
          Default constructor.
 
Method Summary
 EventRecord getWhat()
          Retrieve the value of the what slot of this event, containing the record of the occurred event, along with location and timestamp information.
 void setWhat(EventRecord er)
          Set the what slot of this event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Occurred

public Occurred()
Default constructor. A default constructor is necessary for ontological classes.

Method Detail

setWhat

public void setWhat(EventRecord er)
Set the what slot of this event.

Parameters:
er - The record of the occurred event, along with location and timestamp information.

getWhat

public EventRecord getWhat()
Retrieve the value of the what slot of this event, containing the record of the occurred event, along with location and timestamp information.

Returns:
The value of the what slot, or null if no value was set.