<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>Play around with it in workspace.<br><br>RS<br><br>> To&#58; vladmanchev&#64;gmail.com<br>> Subject&#58; Re&#58; &#91;Seaside&#93; A litle question about Sets<br>> From&#58; merlyn&#64;stonehenge.com<br>> Date&#58; Mon, 1 Mar 2010 08&#58;48&#58;25 -0800<br>> CC&#58; seaside&#64;lists.squeakfoundation.org<br>> <br>> &#62;&#62;&#62;&#62;&#62; &#34;Michael&#34; &#61;&#61; Michael Delache &#60;vladmanchev&#64;gmail.com&#62; writes&#58;<br>> <br>> Michael&#62;   I defined an object called AlbumAuthor.<br>> <br>> A class, you mean&#63;<br>> <br>> Michael&#62; In an other object, Album, I putted a instance variable called authors which<br>> Michael&#62; will contain the authors of the album.<br>> <br>> An instance of Album contains an instance variable called authors. OK.<br>> <br>> Michael&#62; So, I would like to know if I can define the instance as a Set but<br>> Michael&#62; containing only AlbumAuthor type objects.<br>> <br>> Sure.  Add only AlbumAuthor objects, and that&#39;s all it will contain.<br>> Other objects don&#39;t magically jump in there.<br>> <br>> This question is better asked on the beginners&#64; list, not Seaside.<br>> <br>> -- <br>> Randal L. Schwartz - Stonehenge Consulting Services, Inc. - &#43;1 503 777 0095<br>> &#60;merlyn&#64;stonehenge.com&#62; &#60;URL&#58;http&#58;&#47;&#47;www.stonehenge.com&#47;merlyn&#47;&#62;<br>> Smalltalk&#47;Perl&#47;Unix consulting, Technical writing, Comedy, etc. etc.<br>> See http&#58;&#47;&#47;methodsandmessages.vox.com&#47; for Smalltalk and Seaside discussion<br>> _______________________________________________<br>> seaside mailing list<br>> seaside&#64;lists.squeakfoundation.org<br>> http&#58;&#47;&#47;lists.squeakfoundation.org&#47;cgi-bin&#47;mailman&#47;listinfo&#47;seaside<br>                                               <br /><hr />Hotmail: Trusted email with Microsoft’s powerful SPAM protection. <a href='http://clk.atdmt.com/GBL/go/201469226/direct/01/' target='_new'>Sign up now.</a></body>
</html>