jade.content.onto.basic
Class Action

java.lang.Object
  |
  +--jade.content.onto.basic.Action

public class Action
extends java.lang.Object
implements AgentAction, Introspectable


Constructor Summary
Action()
           
Action(AID id, Concept a)
           
 
Method Summary
 void externalise(AbsObject abs, Ontology onto)
          Externalise this object into the given abstract descriptor
 Concept getAction()
           
 AID getActor()
           
 void internalise(AbsObject abs, Ontology onto)
          Internalise this object from a given abstract descriptor
 void setAction(Concept a)
           
 void setActor(AID id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Action

public Action()

Action

public Action(AID id,
              Concept a)
Method Detail

getActor

public AID getActor()

setActor

public void setActor(AID id)

getAction

public Concept getAction()

setAction

public void setAction(Concept a)

externalise

public void externalise(AbsObject abs,
                        Ontology onto)
                 throws OntologyException
Description copied from interface: Introspectable
Externalise this object into the given abstract descriptor
Specified by:
externalise in interface Introspectable
Tags copied from interface: Introspectable
Parameters:
abs - The abstract descriptor this object must externalise itself into.
onto - The reference ontology
Throws:
OntologyException - If some error occurs during the externalisation

internalise

public void internalise(AbsObject abs,
                        Ontology onto)
                 throws UngroundedException,
                        OntologyException
Description copied from interface: Introspectable
Internalise this object from a given abstract descriptor
Specified by:
internalise in interface Introspectable
Tags copied from interface: Introspectable
Parameters:
abs - The abstract descriptor this object must internalise itself from
onto - The reference ontology
Throws:
UngroundedException - If the abstract descriptor contains a variable
OntologyException - If some error occurs during the internalisation