Hi I wonder if you would be so kind as to point me in the right direction 
again. 

as an example:

 I have two classes, both of which have custom forms associated with them

1) SectionHeading which contains instances that have a property amongst many 
others of "headerText"
2) ListItem which contains instances that have a property amongst many 
others of list_ItemText 

I create instances of SectionHeading, give the  headerText property a value 
and then use this instance as part of a paragraph in a UI
I create instances of ListItem, give the list_Item_text property a value , 
relate them to an instance of a "List" Class and then use the list in a UI 
via a scriptcall. This is fine.
ie
 <coreModel:List rdf:about="http://test#List_1";>
    <skos:narrower rdf:resource="http://test#ListItem_1"/>
</coreModel:List>

I have a need for instances in SectionHeading (specifically the literal text 
of the headerText property)  to be a "list Item". Now I could create new 
ListItem instances and retype the text from the  "headerText" property to 
the list_ItemText property but seeing as I hate doing things twice I thought 
their must be a better way of doing this. So this is what I did

1)Created a new datatype property called text and made headerText and 
list_ItemText subProperties of this property.
2)Made each instance of SectionHeading an instance of ListItem so that each 
instance is now a member of both classes.
3)Ran inferencing and used the newly inferred Text property now common to 
both classes in the UI.

This all works fine but I now have an issue with Forms, Ie dependant on how 
the SectionHeading instance was made a member of the ListItem Class, when I 
select the instance in form view it takes on one or other of the custom 
forms made for each class. 

So here are my questions

1) Am I modelling this in the correct way or should i be doing it 
differently
2) How do I swtich between the custom class forms if an instance is a member 
of two classes

Regards 

John Perdoni

-- 
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
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en

Reply via email to