public class ReceivedObject extends java.lang.Object implements Concept, Serializable
received-object
object from
the FIPA Agent Management ontology.FIPAManagementOntology
,
Serialized FormConstructor and Description |
---|
ReceivedObject()
The constructor initializes the date to current time and all
the Strings to empty strings.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public ReceivedObject()
public void setBy(java.lang.String b)
by
slot of this object.b
- The identifier for the ACC that received the envelope
containing this object.public java.lang.String getBy()
by
slot of this object. This slot
identifies the ACC that received the envelope containing this
object.by
slot of this object,
or null
if no value was set.public void setFrom(java.lang.String f)
from
slot of this object.f
- The identifier for the ACC that sent the envelope
containing this object.public java.lang.String getFrom()
from
slot of this object. This slot
identifies the ACC that sent the envelope containing this
object.from
slot of this object,
or null
if no value was set.public void setDate(java.util.Date d)
date
slot of this object.d
- The date when the envelope containing this object was
sent.public java.util.Date getDate()
date
slot of this object. This slot
identifies the date when the envelope containing this object
was sent.date
slot of this object,
or null
if no value was set.public void setId(java.lang.String i)
id
slot of this object.i
- A unique id for the envelope containing this object.public java.lang.String getId()
id
slot of this object. This slot
uniquely identifies the envelope containing this object.id
slot of this object,
or null
if no value was set.public void setVia(java.lang.String v)
via
slot of this object.v
- The name of the MTP over which the envelope containing
this object was sent.public java.lang.String getVia()
via
slot of this object. This slot
describes the MTP over which the envelope containing this
object was sent.via
slot of this
envelope, or null
if no value was set.public java.lang.String toString()
toString
in class java.lang.Object