Changes between Version 4 and Version 5 of relationships
- Timestamp:
- 03/07/2011 09:23:40 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
relationships
v4 v5 42 42 In the relationship browser, select the ''Artist'' class and click on the relationship symbol: --> 43 43 44 In the category menu, select '' OneToMany''. As you can see, there is a template for a ''!OneToManyRelationship'' in the edit pane. Simply add the ''Artwork'' class as the right class and save. The new relationship has been created.44 In the category menu, select ''!OneToMany''. As you can see, there is a template for a ''!OneToManyRelationship'' in the edit pane. Simply add the ''Artwork'' class as the right class and save. The new relationship has been created. 45 45 46 46 If you go back to the instance view, you can see that ''Artist'' does now have the methods ''addArtwork:'', ''artworks'' and ''removeArtwork''. ''Artwork'' has the method ''artist''.