tailieunhanh - PATTERNS OF DATA MODELING- P29

PATTERNS OF DATA MODELING- P29: Models provide the means for building quality software in a predictable manner. Models let developers think deeply about software and cope with large size and complexity. Developers can think abstractly before becoming enmeshed in the details of writing code. Although models are beneficial, they can be difficult to construct. That is where patterns come in. Patterns provide building blocks that help developers construct models faster and better. | 124 Chapter 10 Archetypes The Actor archetype is highly generic. You can capture data for individual actors either by using softcoded values see Chapter 13 or by creating specific entity types as this chapter does for customer Section and vendor Section . Address An Address is a means for communicating with an Actor Figure Figure . An address can be a postal address email address phone number or URL. An address can serve various purposes AddressRoleTypes see Section such as shipping billing business and home. Thus the same address might be used both as a business address and a home address. Figure Archetype Address UML model. An Address is a means for communicating with an actor. Asset An Asset is something of value Figure Figure . An OwnedAsset is an asset that is owned outright. A RentedAsset is the use of an OwnedAsset for some time period. Thus for example a bicycle that is owned is an OwnedAsset. A bicycle that is rented for some time period is a RentedAsset. An OwnedAsset may or may not be individually identified if an OwnedAsset lacks identity AssetOwnership can involve a multiple quantity. For another example consider a timeshare. The underlying property is an OwnedAsset. The timeshare itself is a RentedAsset available for some time interval. Timeshares can be issued for a particular unit but are often tradeable and substitutable by a comparable unit. Contract 125 PostalAddress EmailAddress postalAddressID Fk street city stateProvince postalCode country emailAddressID emailAddress PhoneNumber phoneNumberID FK countryCode areaCode localPhoneNum URL Figure Archetype Address IDEF1X model. Figure Archetype Asset UML model. An Asset is something of value. Contract A Contract is an agreement for the supply of products Figure Figure . Section discusses Product. Many Actors various persons and organizations in a variety of roles can participate in a contract. Businesses use .

TỪ KHÓA LIÊN QUAN
TÀI LIỆU MỚI ĐĂNG
28    152    1    29-11-2024