I'm working on a Municipal Reference Model whose metamodel uses a
number of enumerated types. I decided to model each of these as an
instance of an rdfs:DataType since most of them can be extended by
users with additional enumeration literals. The enumeration literals
are then just instances of the DataType.

For example. the MRM Status Type is an rdfs:DataType with instances
named mrm:StatusType-Active and mrm:StatusType-Inactive.

Now there is an mrm:Status show domain is mrm:Element (the superclass
of all MRM classes) and range mrm:StatusType.

Here's my problem, when I create an instance of (some subclass of)
mrm:Element, I see that it has the mrm:status property in the Form
view. But the form doesn't seem to realize the type (or range) of that
property is mrm:StatusType and display the two instances as potential
values. If I type mrm:StatusType-Active into the field, I get:

mrm:Fire_Department
      a       mrm:OrganizationUnit ;
      mrm:status "mrm:StatusType-Active^^xsd:string" .

What I want is:

mrm:Fire_Department
      a       mrm:OrganizationUnit ;
      mrm:status mrm:StatusType-Active .

I can edit the source to correct the value, and then the form displays
it properly.

But how can I enter the data properly from the form in the first
place?

-- 
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
To post to this group, send email to
topbraid-users@googlegroups.com
To unsubscribe from this group, send email to
topbraid-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en

Reply via email to