lij.model
Class DefMessage
java.lang.Object
lij.model.Def
lij.model.DefMessage
- All Implemented Interfaces:
- TreeNodeToken
public class DefMessage
- extends Def
An LCC message Def.
- Author:
- Nikolaos Chatzinikolaou
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
content
private Term content
agent
private DefAgent agent
outgoing
private boolean outgoing
DefMessage
public DefMessage(Term _content,
DefAgent _agent,
boolean _outgoing)
- Constructor.
- Parameters:
_content
- The content Term of the message._agent
- The Term specifying the participant agent._outgoing
- A flag to denote outgoing (true) or incoming (false)
messages.
getContent
public Term getContent()
- Accessor.
- Returns:
- The content Term of the message.
getAgent
public DefAgent getAgent()
- Accessor.
- Returns:
- The Term specifying the participant agent.
isOutgoing
public boolean isOutgoing()
- Accessor.
- Returns:
- The flag that denotes whether this message is outgoing (true) or
incoming (false).
clone
public java.lang.Object clone()
- Specified by:
clone
in interface TreeNodeToken
- Specified by:
clone
in class Def
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object