de.fau.cs.www8.jadeowlcodec.examples.transformationJADEontology2OWLexample.OWLbehaviour
Class OWLCheckAlreadyWorkingBehaviour

java.lang.Object
  extended by jade.core.behaviours.Behaviour
      extended by jade.core.behaviours.SimpleBehaviour
          extended by jade.proto.SimpleAchieveREInitiator
              extended by de.fau.cs.www8.jadeowlcodec.examples.transformationJADEontology2OWLexample.OWLbehaviour.OWLCheckAlreadyWorkingBehaviour
All Implemented Interfaces:
java.io.Serializable

public class OWLCheckAlreadyWorkingBehaviour
extends jade.proto.SimpleAchieveREInitiator

This behaviour embeds the check that the indicated person is not already working for the indicated company. This is done following a FIPA-Query interaction protocol

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class jade.core.behaviours.Behaviour
jade.core.behaviours.Behaviour.RunnableChangedEvent
 
Field Summary
 
Fields inherited from class jade.proto.SimpleAchieveREInitiator
ALL_RESPONSES_KEY, ALL_RESULT_NOTIFICATIONS_KEY, REQUEST_KEY, REQUEST_SENT_KEY, SECOND_REPLY_KEY
 
Fields inherited from class jade.core.behaviours.Behaviour
myAgent, myEvent, NOTIFY_DOWN, NOTIFY_UP, parent, STATE_BLOCKED, STATE_READY, STATE_RUNNING
 
Constructor Summary
OWLCheckAlreadyWorkingBehaviour(jade.core.Agent myAgent, jade.lang.acl.ACLMessage queryMsg)
           
 
Method Summary
protected  void handleInform(jade.lang.acl.ACLMessage msg)
           
protected  void sendNotUnderstood(jade.lang.acl.ACLMessage incoming)
          sends a message with performative NOT_UNDERSTOOD as answer to the must be ontology specific
 
Methods inherited from class jade.proto.SimpleAchieveREInitiator
action, done, handleAgree, handleAllResponses, handleAllResultNotifications, handleFailure, handleNotUnderstood, handleOutOfSequence, handleRefuse, onStart, prepareRequest, reset, reset
 
Methods inherited from class jade.core.behaviours.Behaviour
actionWrapper, block, block, getBehaviourName, getDataStore, getExecutionState, getParent, handle, isRunnable, onEnd, restart, root, setAgent, setBehaviourName, setDataStore, setExecutionState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OWLCheckAlreadyWorkingBehaviour

public OWLCheckAlreadyWorkingBehaviour(jade.core.Agent myAgent,
                                       jade.lang.acl.ACLMessage queryMsg)
Method Detail

sendNotUnderstood

protected final void sendNotUnderstood(jade.lang.acl.ACLMessage incoming)
sends a message with performative NOT_UNDERSTOOD as answer to the must be ontology specific

Parameters:
incoming - the message that was not understood

handleInform

protected void handleInform(jade.lang.acl.ACLMessage msg)
Overrides:
handleInform in class jade.proto.SimpleAchieveREInitiator


Copyright 2007 Moritz Goeb, Bernhard Schiemann, Ulf Schreiber of Chair of Artificial Intelligence, University of Erlangen-Nuremberg