Follow Up "Multiple Inheritance" : Use a class in several model typesFollow Up "Multiple Inheritance" : Use a class in several model typesRE: Follow Up "Multiple Inheritance" : Use a class in several model typesSabin Popescuhttps://www.adoxx.org/live/c/message_boards/find_message?p_l_id=&messageId=200502013-06-24T09:08:26Z2013-06-24T09:08:26ZWhen defining an attribute of type INTERREF (object reference), you have to enter both the name of the model type and the name of the class in the attribute facet "AttributeInterRefDomain".<br />In the current example, if you want to use the classes E and Y in more than one model type, you have to add all the model types in the facet:<br /><br /><div class="code"><span class="code-lines"> 1</span>REFDOMAIN max:999<br /><span class="code-lines"> 2</span>OBJREF<br /><span class="code-lines"> 3</span> mt:"Sample"<br /><span class="code-lines"> 4</span> c:"Y"<br /><span class="code-lines"> 5</span> max:999<br /><span class="code-lines"> 6</span><br /><span class="code-lines"> 7</span>OBJREF<br /><span class="code-lines"> 8</span> mt:"Another Modeltype"<br /><span class="code-lines"> 9</span> c:"Y"<br /><span class="code-lines">10</span> max:999<br /></div>Sabin Popescu2013-06-24T09:08:26ZFollow Up "Multiple Inheritance" : Use a class in several model typeshttps://www.adoxx.org/live/c/message_boards/find_message?p_l_id=&messageId=200422014-03-27T11:17:51Z2013-06-24T09:06:40ZWhen I define an attribute I set in the facet the model type. Is it possible that this works without setting the model type, because it is a constraint?2013-06-24T09:06:40Z