Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-discussion] define cardinality in Frame API

Len Yabloko protege at ontospace.net
Fri Jun 6 11:03:03 PDT 2008


I can't define cardinality of slot as "multiple" by using following line:

  class.setTemplateSlotAllowsMultipleValues(slot,true);          		

Generated class still shows as "single" ans "at most 1", even if add line:

  class.setTemplateSlotMaximumCardinality(slot, 100);

What is the right way of doing it?

Thanks








More information about the protege-discussion mailing list