Đang chuẩn bị liên kết để tải về tài liệu:
PATTERNS OF DATA MODELING- P31
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
PATTERNS OF DATA MODELING- P31: 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. | 134 Chapter 10 Archetypes 10.12 Location A Location is a physical place in space Figure 10.23 Figure 10.24 . Figure 10.23 Archetype Location UML model. A Location is a physical place in space. RegionType PartitionBasis_childRegion Figure 10.24 Archetype Location IDEF1X model. A Region is a geographical area. A parent Region may contain child Regions. For example the United States can be divided into states and the states further divided into counties. Alternatively the United States can be divided into time zones. The division into political units and time zones are two examples of PartitionBasis. Note the use of the Overlapping Tree template see Chapter 2 . A RegionType is a kind of Region such as a country state province and county. RegionTypes can be organized into a hierarchy ranging from broad to fine categories. 10.13 Opportunity 135 A Facility is a building a campus or a part of a building where business can be conducted. The postal address for a location can change an example is the creation of a new postal code. Furthermore a large building may have multiple postal addresses. 10.13 Opportunity An Opportunity is an inquiry that can result in business Figure 10.25 Figure 10.26 . Opportunities often arise in the context of sales. Organizations devote many resources to cultivating sales and managing their response to them. Opportunities can be represented with a progression of steps as they progress in the sales cycle. Organizations collect data as an opportunity proceeds. Figure 10.25 Archetype Opportunity UML model. An Opportunity is an inquiry that can result in business. Actor Opportunity Figure 10.26 Archetype Opportunity IDEF1X model. 136 Chapter 10 Archetypes The subtypes in the model show some possible steps. The precise steps vary by organization. A RawLead begins the sales cycle. After some investigation that the lead is bona fide it is called a QualifiedLead. An opportunity that has closed and culminated in business is called a Deal. .