Problem with New Ontology and ANY_TYPE slots


Subject: Problem with New Ontology and ANY_TYPE slots
From: Miguel Ángel (ruenes@wanadoo.es)
Date: Mon Jul 22 2002 - 16:24:48 MET DST


Hi!

I'm changing an Ontology written for JADE 2.3 to the NEW Ontology specification, but I have the following problem:
 
In this Ontology I have some generic predicates that have slots of the "old" type jade.onto.Ontology.ANY_TYPE which are mapped in the implementation classes with a Java Object. With this, I can include in those slots different types of "concepts" that I have included in the ontology.

The problem is that in the New Ontology specification, I can't define those predicates because in the class jade.content.onto.BasicOntology there isn't the slot type ANY_TYPE (only strings, boolean, integer, AID... or an specific Concept that are not mapped to a generic Java Object).

Could you explain me how to define this "generic" slots in the new Ontology in order to include different types of "Concepts" of the ontology?

Thank you very much.

Hi!
 
I'm changing an Ontology written for JADE 2.3 to the NEW Ontology specification, but I have the following problem:
 
In this Ontology I have some generic predicates that have slots of the "old" type jade.onto.Ontology.ANY_TYPE which are mapped in the implementation classes with a Java Object. With this, I can include in those slots different types of "concepts" that I have included in the ontology.
 
The problem is that in the New Ontology specification, I can't define those predicates because in the class jade.content.onto.BasicOntology there isn't the slot type ANY_TYPE (only strings, boolean, integer, AID... or an specific Concept that are not mapped to a generic Java Object).
 
Could you explain me how to define this "generic" slots in the new Ontology in order to include different types of "Concepts" of the ontology?
 
Thank you very much.
 



This archive was generated by hypermail 2a22 : Mon Jul 22 2002 - 16:26:33 MET DST