Hi all,<br><br>  I defined an object called AlbumAuthor.<br>In an other object, Album, I putted a instance variable called authors which will contain the authors of the album.<br>So, I would like to know if I can define the instance as a Set but containing only AlbumAuthor type objects.<br>
<br>I don&#39;t know if it&#39;s possible to do this. Someone could help with this one?<br>