jade.content.onto
Interface Introspectable

All Known Implementing Classes:
Action

public interface Introspectable

This interface must be implemented by ontological classes that belong to an ontology using the MicroIntrospector. It includes methods by means of which an object can be converted into/from an abstract descriptor.

Author:
Giovanni Caire - TILAB
See Also:
MicroIntrospector

Method Summary
 void externalise(AbsObject abs, Ontology onto)
          Externalise this object into the given abstract descriptor
 void internalise(AbsObject abs, Ontology onto)
          Internalise this object from a given abstract descriptor
 

Method Detail

externalise

public void externalise(AbsObject abs,
                        Ontology onto)
                 throws OntologyException
Externalise this object into the given abstract descriptor

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
Internalise this object from a given abstract descriptor

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


JADE