is.lill.acre.message
Class ACREMessage
java.lang.Object
is.lill.acre.message.ACREMessage
- All Implemented Interfaces:
- IACREMessage
- Direct Known Subclasses:
- ACREFIPAMessage
public class ACREMessage
- extends java.lang.Object
- implements IACREMessage
Simple class to represent an ACL message Content is stored as a raw string -
it will be parsed by ACRE using an appropriate ITermParser. The appropriate
parser is identified using the getLanguage()
method of this class
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ACREMessage
public ACREMessage()
getContent
public java.lang.String getContent()
- Specified by:
getContent
in interface IACREMessage
setContent
public void setContent(java.lang.String content)
getConversationIdentifier
public java.lang.String getConversationIdentifier()
- Specified by:
getConversationIdentifier
in interface IACREMessage
setConversationId
public void setConversationId(java.lang.String cid)
getPerformative
public java.lang.String getPerformative()
- Specified by:
getPerformative
in interface IACREMessage
setPerformative
public void setPerformative(java.lang.String p)
getProtocol
public ProtocolDescriptor getProtocol()
- Specified by:
getProtocol
in interface IACREMessage
setProtocol
public void setProtocol(ProtocolDescriptor protocol)
getReceiver
public IACREAgentID getReceiver()
- Specified by:
getReceiver
in interface IACREMessage
setReceiver
public void setReceiver(IACREAgentID receiver)
getSender
public IACREAgentID getSender()
- Specified by:
getSender
in interface IACREMessage
setSender
public void setSender(IACREAgentID sender)
getLanguage
public java.lang.String getLanguage()
- Specified by:
getLanguage
in interface IACREMessage
setLanguage
public void setLanguage(java.lang.String language)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object