jade.domain.FIPAAgentManagement
Class ReceivedObject

java.lang.Object
  |
  +--jade.domain.FIPAAgentManagement.ReceivedObject
All Implemented Interfaces:
Concept, java.io.Serializable, Serializable, Term

public class ReceivedObject
extends java.lang.Object
implements Concept, Serializable

This class implements the received-object object from the FIPA Agent Management ontology.

Version:
$Date: 2003/11/19 16:04:35 $ $Revision: 2.8 $
Author:
Fabio Bellifemine - CSELT S.p.A.
See Also:
FIPAManagementOntology, Serialized Form

Constructor Summary
ReceivedObject()
          The constructor initializes the date to current time and all the Strings to empty strings.
 
Method Summary
 java.lang.String getBy()
          Retrieve the by slot of this object.
 java.util.Date getDate()
          Retrieve the date slot of this object.
 java.lang.String getFrom()
          Retrieve the from slot of this object.
 java.lang.String getId()
          Retrieve the id slot of this object.
 java.lang.String getVia()
          Retrieve the via slot of this object.
 void setBy(java.lang.String b)
          Set the by slot of this object.
 void setDate(java.util.Date d)
          Set the date slot of this object.
 void setFrom(java.lang.String f)
          Set the from slot of this object.
 void setId(java.lang.String i)
          Set the id slot of this object.
 void setVia(java.lang.String v)
          Set the via slot of this object.
 java.lang.String toString()
          Retrieve a string representation for this received object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReceivedObject

public ReceivedObject()
The constructor initializes the date to current time and all the Strings to empty strings.

Method Detail

setBy

public void setBy(java.lang.String b)
Set the by slot of this object.

Parameters:
b - The identifier for the ACC that received the envelope containing this object.

getBy

public java.lang.String getBy()
Retrieve the by slot of this object. This slot identifies the ACC that received the envelope containing this object.

Returns:
The value of the by slot of this object, or null if no value was set.

setFrom

public void setFrom(java.lang.String f)
Set the from slot of this object.

Parameters:
f - The identifier for the ACC that sent the envelope containing this object.

getFrom

public java.lang.String getFrom()
Retrieve the from slot of this object. This slot identifies the ACC that sent the envelope containing this object.

Returns:
The value of the from slot of this object, or null if no value was set.

setDate

public void setDate(java.util.Date d)
Set the date slot of this object.

Parameters:
d - The date when the envelope containing this object was sent.

getDate

public java.util.Date getDate()
Retrieve the date slot of this object. This slot identifies the date when the envelope containing this object was sent.

Returns:
The value of the date slot of this object, or null if no value was set.

setId

public void setId(java.lang.String i)
Set the id slot of this object.

Parameters:
i - A unique id for the envelope containing this object.

getId

public java.lang.String getId()
Retrieve the id slot of this object. This slot uniquely identifies the envelope containing this object.

Returns:
The value of the id slot of this object, or null if no value was set.

setVia

public void setVia(java.lang.String v)
Set the via slot of this object.

Parameters:
v - The name of the MTP over which the envelope containing this object was sent.

getVia

public java.lang.String getVia()
Retrieve the via slot of this object. This slot describes the MTP over which the envelope containing this object was sent.

Returns:
The value of the via slot of this envelope, or null if no value was set.

toString

public java.lang.String toString()
Retrieve a string representation for this received object.

Overrides:
toString in class java.lang.Object
Returns:
an SL0-like String representation of this object


JADE