Search Mailing List Archives
[protege-discussion] getting "view slot at class"
szathmar at loria.fr
Mon Jan 12 12:42:20 PST 2009
> If you use the getDirectTemplates() method on the class instead of
> getVisibleTemplateSlots(), then you get the slots as they are defined at
> that class - the "view at class" level that you describe. This works for
> getting and setting the slot at the class.
Thanks for the answer, but it still doesn't work as I expect.
getDirectTemplateSlots() doesn't show the inherited slots, and it
still accesses the global properties (top-level view) of the slot. For
all slots I would need the local view ("view slot at class" in the
More information about the protege-discussion