public class Action extends Object implements AgentAction, Introspectable
action
operator of the
FIPA SL0 action.Modifier and Type | Field and Description |
---|---|
private Concept |
action |
private AID |
actor |
Modifier and Type | Method and Description |
---|---|
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) |
public AID getActor()
public void setActor(AID id)
public Concept getAction()
public void setAction(Concept a)
public void externalise(AbsObject abs, Ontology onto) throws OntologyException
Introspectable
externalise
in interface Introspectable
abs
- The abstract descriptor this object must externalise
itself into.onto
- The reference ontologyOntologyException
- If some error occurs during the externalisationpublic void internalise(AbsObject abs, Ontology onto) throws UngroundedException, OntologyException
Introspectable
internalise
in interface Introspectable
abs
- The abstract descriptor this object must internalise
itself fromonto
- The reference ontologyUngroundedException
- If the abstract descriptor
contains a variableOntologyException
- If some error occurs during the internalisation