Select object
Model components:
1) problem domain ( PD that is, problem domain ) component. Classes related to the business at hand
2) interaction with people ( Hi that is, Human Interface ) component. Windows and reports
3) Data Management ( dm that is, data management ) component. Databases or files, such as XML
4) interaction with the system ( Si that is, system interface ) component. Other systems
5)Do not consider (NT. Outside the scope of the system
# 25 " Object - model component-guided" Policy Selection object (model component) |
Object-The model component is a guide to organize the work of searching objects. PD: Problem domainHi: Interaction with people DM: Data Management Si: Interacts with the system (NT: Not considered for the moment) |
Why do we need to use model components?Components are used to divide classes into meaningful, loosely coupled subsets..
Problem domain componentIt is composed of objects that directly correspond to modeling problems. Objects in this component have nothing to do with technology. They know little or no idea about objects in other components.
Human interaction componentIt consists of objects that provide question domains and persons. In the object model, most of these objects correspond to specific windows and reports.
Data management componentIt consists of interface objects that provide problem domains and databases or file management systems. In the object model, most of these objects correspond to specific problem domain objects that need to provide permanent storage technology and search support.
System interaction ComponentsAn object that provides an interface between a problem domain object and other systems or devices. The system interaction object encapsulates the communication protocol so that the problematic domain object with it can be removed from the lower-layer and specific implementation.
Model components should be used, and model components should be used as a general outline and a guide for selecting objects. They should be used to maintain a good organizational structure of classes for easy understanding and reuse.