mam.messaging
Class EventQueryKnowledgeResultsMessage

mam.messaging.AgentMessage
  |
  +--mam.messaging.EventQueryKnowledgeResultsMessage

public class EventQueryKnowledgeResultsMessage
extends AgentMessage

Description


Field Summary
 AgentKnowledgem_attrAgentKnowledge
           
 Stringm_attrQueryPhrase
           
 Doublem_attrRelevance
           

Fields inherited from class mam.messaging.AgentMessage
DEFAULT_TAG_NAME, DEFAULT_TIME_TO_LIVE, DESTINATION_TAG_NAME, m_attrCreationDate, m_attrDestination, m_attrId, m_attrOriginFacility, m_attrReplyTo, m_attrResponseTo, m_attrSource, m_attrTimeToLive, SOURCE_TAG_NAME

Constructor Summary
EventQueryKnowledgeResultsMessage(RoutingTag source, RoutingTag destination, String queryPhrase, double relevance, AgentKnowledge agentKnowledge)
           
EventQueryKnowledgeResultsMessage(RoutingTag source, RoutingTag destination, MamId responseTo, String queryPhrase, double relevance, AgentKnowledge agentKnowledge)
           
EventQueryKnowledgeResultsMessage(RoutingTag source, RoutingTag destination, String queryPhrase, Double relevance, AgentKnowledge agentKnowledge)
           
EventQueryKnowledgeResultsMessage(RoutingTag source, RoutingTag destination, MamId responseTo, String queryPhrase, Double relevance, AgentKnowledge agentKnowledge)
           

Method Summary
 AgentKnowledgegetAgentKnowledge()
           
 StringgetQueryPhrase()
           
 DoublegetRelevance()
           
 protected voidsetAgentKnowledge(AgentKnowledge agentKnowledge)
           
 voidsetQueryPhrase(String queryPhrase)
           
 voidsetRelevance(Double relevance)
           
 StringtoString()
           

Methods inherited from class mam.messaging.AgentMessage
decrementTimeToLive, fromXmlElement, getDestination, getId, getOriginFacility, getRemainingTimeToLive, getReplyTo, getResponseTo, getSource, getType, setDestination, setId, setLocal, setOriginFacility, setReplyTo, setResponseTo, setSource, toXmlElement, toXmlElement

Field Detail

m_attrAgentKnowledge

public AgentKnowledge m_attrAgentKnowledge

m_attrQueryPhrase

public String m_attrQueryPhrase

m_attrRelevance

public Double m_attrRelevance
Constructor Detail

EventQueryKnowledgeResultsMessage

public EventQueryKnowledgeResultsMessage(RoutingTag source, RoutingTag destination, String queryPhrase, double relevance, AgentKnowledge agentKnowledge)

EventQueryKnowledgeResultsMessage

public EventQueryKnowledgeResultsMessage(RoutingTag source, RoutingTag destination, MamId responseTo, String queryPhrase, double relevance, AgentKnowledge agentKnowledge)

EventQueryKnowledgeResultsMessage

public EventQueryKnowledgeResultsMessage(RoutingTag source, RoutingTag destination, String queryPhrase, Double relevance, AgentKnowledge agentKnowledge)

EventQueryKnowledgeResultsMessage

public EventQueryKnowledgeResultsMessage(RoutingTag source, RoutingTag destination, MamId responseTo, String queryPhrase, Double relevance, AgentKnowledge agentKnowledge)
Method Detail

getAgentKnowledge

public AgentKnowledge getAgentKnowledge()

getQueryPhrase

public String getQueryPhrase()

getRelevance

public Double getRelevance()

setAgentKnowledge

protected void setAgentKnowledge(AgentKnowledge agentKnowledge)

setQueryPhrase

public void setQueryPhrase(String queryPhrase)

setRelevance

public void setRelevance(Double relevance)

toString

public String toString()