Package jade.content.onto.basic
Class Action
- java.lang.Object
-
- jade.content.onto.basic.Action
-
- All Implemented Interfaces:
AgentAction,Concept,ContentElement,Introspectable,Term,Serializable,Serializable
public class Action extends Object implements AgentAction, Introspectable
This class implements theactionoperator of the FIPA SL0 action.- Author:
- Giovanni Caire - TILAB
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexternalise(AbsObject abs, Ontology onto)Externalise this object into the given abstract descriptorConceptgetAction()AIDgetActor()voidinternalise(AbsObject abs, Ontology onto)Internalise this object from a given abstract descriptorvoidsetAction(Concept a)voidsetActor(AID id)
-
-
-
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:IntrospectableExternalise this object into the given abstract descriptor- Specified by:
externalisein interfaceIntrospectable- 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:IntrospectableInternalise this object from a given abstract descriptor- Specified by:
internalisein interfaceIntrospectable- Parameters:
abs- The abstract descriptor this object must internalise itself fromonto- The reference ontology- Throws:
UngroundedException- If the abstract descriptor contains a variableOntologyException- If some error occurs during the internalisation
-
-