RE: [jade-develop] Problem with New Ontology and ANY_TYPE slots


Subject: RE: [jade-develop] Problem with New Ontology and ANY_TYPE slots
From: Caire Giovanni (Giovanni.Caire@TILAB.COM)
Date: Tue Jul 23 2002 - 10:55:45 MET DST


Hi,
 
If you use ObjectSchema.getBaseSchema() as the schema for a slot, you
can use whatever ontological element to fill the slot.
Note that the static method getBaseSchema() is available also for
concepts, predicates .... so that for example if you use
ConceptSchema.getBaseSchema() you can use whatever concept to fill the
slot.
 
Bye
 
Giovanni
 
 

-----Original Message-----
From: Miguel Ángel [mailto:ruenes@wanadoo.es]
Sent: luned́ 22 luglio 2002 16.25
To: jade-develop@sharon.cselt.it
Subject: [jade-develop] Problem with New Ontology and ANY_TYPE slots

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.
 

====================================================================
CONFIDENTIALITY NOTICE
This message and its attachments are addressed solely to the persons
above and may contain confidential information. If you have received
the message in error, be informed that any use of the content hereof
is prohibited. Please return it immediately to the sender and delete
the message. Should you have any questions, please contact us by
replying to MailAdmin@tilab.com. Thank you
====================================================================

Hi,
 
If you use ObjectSchema.getBaseSchema() as the schema for a slot, you can use whatever ontological element to fill the slot.
Note that the static method getBaseSchema() is available also for concepts, predicates .... so that for example if you use ConceptSchema.getBaseSchema() you can use whatever concept to fill the slot.
 
Bye
 
Giovanni
 
 
-----Original Message-----
From: Miguel Ángel [mailto:ruenes@wanadoo.es]
Sent: luned́ 22 luglio 2002 16.25
To: jade-develop@sharon.cselt.it
Subject: [jade-develop] Problem with New Ontology and ANY_TYPE slots

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.
 

====================================================================
CONFIDENTIALITY NOTICE
This message and its attachments are addressed solely to the persons
above and may contain confidential information. If you have received
the message in error, be informed that any use of the content hereof
is prohibited. Please return it immediately to the sender and delete
the message. Should you have any questions, please contact us by
replying to MailAdmin@tilab.com. Thank you
====================================================================



This archive was generated by hypermail 2a22 : Tue Jul 23 2002 - 10:57:37 MET DST