Search Mailing List Archives
[protege-discussion] (no subject)
Timothy Redmond
tredmond at stanford.edu
Wed Apr 18 10:26:18 PDT 2007
Is the ontology small enough to send? If so let me know what the
class is and exactly what you expect and I will try it out.
-Timothy
On Apr 18, 2007, at 7:35 AM, help at ontospace.net wrote:
> Hello,
>
> I am developing Ontobase plugin for Protege. After upgrading to
> beta 3.3 one of functions stopped working. I traced it to following
> code:
>
> Cls parent = (Cls) selected.getOwnSlotValue(kb.getSlot
> (Model.Slot.DIRECT_TYPE));
>
> if (parent != null && parent.getTemplateSlotValueType(field) ==
> ValueType.INSTANCE) {
>
> I realize that DIRECT_TYPE had been depricated long ago, but
> everything was working untill lately. When I look at slot "field"
> using Protege GUI I see String at top level, but my defined value
> at Cls level. For some reason the above call to
> parent.getTemplateSlotValueType returns default ValueType of
> "String" instead of my value.
>
> Thanks in advance for your help.
>
> Len Yabloko,
> Next Generation Software
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-discussion/attachments/20070418/f05fb953/attachment.html>
More information about the protege-discussion
mailing list