jade.content.onto.basic
Class Action
java.lang.Object
|
+--jade.content.onto.basic.Action
- public class Action
- extends java.lang.Object
- implements AgentAction, Introspectable
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Action
public Action()
Action
public Action(AID id,
Concept a)
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 fromonto
- The reference ontology- Throws:
- UngroundedException - If the abstract descriptor
contains a variable
- OntologyException - If some error occurs during the internalisation