Can we add Map in a Schema?


Subject: Can we add Map in a Schema?
From: Zhiyong Wu (zhiyongw@andrew.cmu.edu)
Date: Tue Nov 12 2002 - 02:19:36 MET


Hi!

I have one question about ontology I can not work out. Can we define a
Schema that contains a HashMap collection? there are some code samples
about how to add a List into a Schema in the tutorial:

 cs.add(CD_TRACKS, (ConceptSchema) getSchema(TRACK), 1,
ObjectSchema.UNLIMITED);

how can I add a HashMap which contains key-value pairs? I found
jade.util.leap.Map class and don't know how to use it.

Thanks!



This archive was generated by hypermail 2a22 : Tue Nov 12 2002 - 02:20:21 MET