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

Thomas Russ tar at ISI.EDU
Fri Jun 6 18:51:43 PDT 2008


Is the slot itself defined as single-valued?
A global constraint like that will override any class-local  
cardinality restriction.


On Jun 6, 2008, at 11:03 AM, Len Yabloko wrote:

> 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
>
>
>
>
>
> _______________________________________________
> protege-discussion mailing list
> protege-discussion at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-discussion
>
> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03




More information about the protege-discussion mailing list