<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Randal L. Schwartz wrote:
<blockquote cite="mid:86ipguenvz.fsf@red.stonehenge.com" type="cite">
  <blockquote type="cite">
    <blockquote type="cite">
      <blockquote type="cite">
        <blockquote type="cite">
          <blockquote type="cite">
            <pre wrap="">"Ben" == Ben Coman <a class="moz-txt-link-rfc2396E" href="mailto:btc@openInWorld.com">&lt;btc@openInWorld.com&gt;</a> writes:
            </pre>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
  </blockquote>
  <pre wrap=""><!---->
Ben&gt; doh! &lt;smacks-head&gt;   funny how it works itself out when you step away for a
Ben&gt; while - this works fine...

Ben&gt; B class &gt;&gt; relations
Ben&gt;   (self == B)
Ben&gt;       ifTrue:  [ ^ {     E-&gt; #addE.  }     ]
Ben&gt;       ifFalse: [ ^ {}  ]

Ben&gt; but I still wonder if it is the right approach

Without further analysis, or description of the problem you're trying to
solve, this already looks far too fragile for me.

For one, it fails the "null subclass" test.  You should always be able
to subclass a class, putting no methods in the subclass, and the
subclass and superclass objects would be completely interchangeable.

  </pre>
</blockquote>
I've been taking my time to wrap my head around your comment.&nbsp; It makes
complete sense when thinking about the use of the object model.&nbsp;
However (if you can refer to the attached diagram showing one
association and one inheritance relationship) what I am trying to work
out is whether that applies as strongly one level up at the meta /
class description.&nbsp; <br>
<br>
If ConductingEquipment is a null-subclass then at the instance/model
level it could be completely interchanged with Equipment because the
association is inherited.&nbsp; However at the meta / class-description
level (ie storing the data to be able to redraw that diagram)
ConductingEquipment and Equipment seem not interchangable since no
direct line exists between ConductingEquipment to EquipmentContainer.<br>
<br>
I'll continue to muse on that. Thanks for you reply.<br>
cheers -ben<br>
</body>
</html>