Package jade.domain.introspection
Class Occurred
- java.lang.Object
-
- jade.domain.introspection.Occurred
-
- All Implemented Interfaces:
ContentElement,Predicate,Serializable,Serializable
public class Occurred extends Object implements Predicate
This class represents theoccurredpredicate, whose argument is a JADE introspection event.- Version:
- $Date$ $Revision$
- Author:
- Giovanni Rimassa - Universita' di Parma
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Occurred()Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventRecordgetWhat()Retrieve the value of thewhatslot of this event, containing the record of the occurred event, along with location and timestamp information.voidsetWhat(EventRecord er)Set thewhatslot of this event.
-
-
-
Method Detail
-
setWhat
public void setWhat(EventRecord er)
Set thewhatslot 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 thewhatslot of this event, containing the record of the occurred event, along with location and timestamp information.- Returns:
- The value of the
whatslot, ornullif no value was set.
-
-