Package jade.domain.FIPAAgentManagement
Class ReceivedObject
- java.lang.Object
-
- jade.domain.FIPAAgentManagement.ReceivedObject
-
- All Implemented Interfaces:
Concept,Term,Serializable,Serializable
public class ReceivedObject extends Object implements Concept, Serializable
This class implements thereceived-objectobject from the FIPA Agent Management ontology.- Version:
- $Date$ $Revision$
- Author:
- Fabio Bellifemine - CSELT S.p.A.
- See Also:
FIPAManagementOntology, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReceivedObject()The constructor initializes the date to current time and all the Strings to empty strings.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBy()Retrieve thebyslot of this object.DategetDate()Retrieve thedateslot of this object.StringgetFrom()Retrieve thefromslot of this object.StringgetId()Retrieve theidslot of this object.StringgetVia()Retrieve theviaslot of this object.voidsetBy(String b)Set thebyslot of this object.voidsetDate(Date d)Set thedateslot of this object.voidsetFrom(String f)Set thefromslot of this object.voidsetId(String i)Set theidslot of this object.voidsetVia(String v)Set theviaslot of this object.StringtoString()Retrieve a string representation for this received object.
-
-
-
Method Detail
-
setBy
public void setBy(String b)
Set thebyslot of this object.- Parameters:
b- The identifier for the ACC that received the envelope containing this object.
-
getBy
public String getBy()
Retrieve thebyslot of this object. This slot identifies the ACC that received the envelope containing this object.- Returns:
- The value of the
byslot of this object, ornullif no value was set.
-
setFrom
public void setFrom(String f)
Set thefromslot of this object.- Parameters:
f- The identifier for the ACC that sent the envelope containing this object.
-
getFrom
public String getFrom()
Retrieve thefromslot of this object. This slot identifies the ACC that sent the envelope containing this object.- Returns:
- The value of the
fromslot of this object, ornullif no value was set.
-
setDate
public void setDate(Date d)
Set thedateslot of this object.- Parameters:
d- The date when the envelope containing this object was sent.
-
getDate
public Date getDate()
Retrieve thedateslot of this object. This slot identifies the date when the envelope containing this object was sent.- Returns:
- The value of the
dateslot of this object, ornullif no value was set.
-
setId
public void setId(String i)
Set theidslot of this object.- Parameters:
i- A unique id for the envelope containing this object.
-
getId
public String getId()
Retrieve theidslot of this object. This slot uniquely identifies the envelope containing this object.- Returns:
- The value of the
idslot of this object, ornullif no value was set.
-
setVia
public void setVia(String v)
Set theviaslot of this object.- Parameters:
v- The name of the MTP over which the envelope containing this object was sent.
-
getVia
public String getVia()
Retrieve theviaslot of this object. This slot describes the MTP over which the envelope containing this object was sent.- Returns:
- The value of the
viaslot of this envelope, ornullif no value was set.
-
-