Package jade.content.onto
Interface Introspectable
-
- All Known Implementing Classes:
Action
public interface IntrospectableThis interface must be implemented by ontological classes that belong to an ontology using theMicroIntrospector. 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidexternalise(AbsObject abs, Ontology onto)Externalise this object into the given abstract descriptorvoidinternalise(AbsObject abs, Ontology onto)Internalise this object from a given abstract descriptor
-
-
-
Method Detail
-
externalise
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
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 fromonto- The reference ontology- Throws:
UngroundedException- If the abstract descriptor contains a variableOntologyException- If some error occurs during the internalisation
-
-