jade.domain.introspection
Class PlatformDescription

java.lang.Object
  extended by jade.domain.introspection.PlatformDescription
All Implemented Interfaces:
Concept, Term, Event, java.io.Serializable

public class PlatformDescription
extends java.lang.Object
implements Event

This class represents the platform-description predicate, whose argument is a platform description object from the FIPA Agent Management ontology.

Version:
$Date: 2005-02-16 18:18:28 +0100 (mer, 16 feb 2005) $ $Revision: 5552 $
Author:
Tiziana Trucco - CSELT S.p.A.
See Also:
Serialized Form

Field Summary
static java.lang.String NAME
          A string constant for the name of this event.
 
Constructor Summary
PlatformDescription()
          Default constructor.
 
Method Summary
 java.lang.String getName()
          Retrieve the name of this event.
 APDescription getPlatform()
          Retrieve the value of the platform slot of this event, containing the ap-description this notification refers to.
 void setPlatform(APDescription p)
          Set the platform slot of this event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
A string constant for the name of this event.

See Also:
Constant Field Values
Constructor Detail

PlatformDescription

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

Method Detail

getName

public java.lang.String getName()
Retrieve the name of this event.

Specified by:
getName in interface Event
Returns:
A constant value for the event name.

setPlatform

public void setPlatform(APDescription p)
Set the platform slot of this event.

Parameters:
p - The ap-description this notification refers to.

getPlatform

public APDescription getPlatform()
Retrieve the value of the platform slot of this event, containing the ap-description this notification refers to.

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