Professional Application Lifecycle Management with Visual Studio 2013 by Mickey Gousset & Martin Hinshelwood & Brian A. Randell & Brian Keller & Martin Woodward

Professional Application Lifecycle Management with Visual Studio 2013 by Mickey Gousset & Martin Hinshelwood & Brian A. Randell & Brian Keller & Martin Woodward

Author:Mickey Gousset & Martin Hinshelwood & Brian A. Randell & Brian Keller & Martin Woodward
Language: eng
Format: epub
ISBN: 9781118836590
Published: 2014-04-07T00:00:00+00:00


Now create a class for the books. Add another class object to the class diagram, below the BookStore class, and rename it Book. Add two attributes to the Book class: Price of type Integer and NumberOfPages of type Integer. Select the Association element from the Toolbox window, click the BookStore class, and then click on the Book class. An Association element is used to represent any kind of linkage between two elements, regardless of how the linkage is actually implemented in the code itself.

A BookStore can have multiple books in it, so you must modify the Multiplicity property for the Book class. Select the Association linking the BookStore and Book classes. In the Properties window, click the arrow next to the Second Role property to expand it. Change the Multiplicity value to be *, indicating the BookStore can contain multiple books.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.