Архитектура Аудит Военная наука Иностранные языки Медицина Металлургия Метрология Образование Политология Производство Психология Стандартизация Технологии |
Object-Role Modeling (ORM/NIAM)
Terry Halpin Microsoft Corporation, USA
Introduction 1.1 ORM: what is it and why use it? Object-Role Modeling (ORM) is primarily a method for modeling and querying an information system at the conceptual level. In Europe, the method... often ... (call) NIAM (Natural language Information Analysis Method). Since information systems... typically... (implement) on a DBMS that is based on some logical data model (e.g. relational, object-relational, hierarchic), ORM... (include) procedures for mapping between conceptual and logical levels. Although various ORM extensions... (propose) for process and event modeling, the focus of ORM is on data modeling, since the data perspective is the most stable and it... (provide) a formal foundation on which operations can be defined. For correctness, clarity and adaptability, information systems... best... (specify) first at the conceptual level, using concepts and language that people can readily understand. Analysis and design... (involve) building a formal model of the application area or universe of discourse (UoD). To do this properly... (require) a good understanding of the UoD and a means of specifying this understanding in a clear, unambiguous way. Object-Role Modeling... (simplify) this process by using natural language, as well as intuitive diagrams that can be populated with examples, and by expressing the information in terms of elementary relationships. ORM... (so-call) because it pictures the world in terms of objects (entities or values) that play roles (parts in relationships). For example, you are now playing the role of reading, and this paper is playing the role of being read. In contrast to other modeling techniques such as Entity-Relationship (ER) and Object-Oriented (OO) approaches, ORM makes no explicit use of attributes. For example, instead of using countryBorn as an attribute of Person, we... ( use) the relationship type Person was born in Country. This... (have) many important advantages. Firstly, ORM models and queries are more stable (attributes may evolve into entities or relationships). For example, if we decide to later record the population of a country, then our countryBorn attribute needs to be reformulated as a relationship. Secondly, ORM models may... conveniently... (populate) with multiple instances (attributes make this too awkward). Thirdly, ORM is more uniform (e.g. we don’t need a separate notation for applying the same constraint to an attribute rather than a relationship). ORM is typically more expressive than ER or OO. Its role-based notation makes it easy to specify a wide variety of constraints, and its object types... (reveal) the semantic domains that bind a schema together. One benefit of this is that conceptual queries may now... (formulate) in terms of schema paths, where moving from one role though an object type to another role amounts to a conceptual join (see later). Unlike ORM or ER, popular OO models often... (duplicate) information by wrapping facts up into pairs of inverse attributes in different objects. Moreover, OO notations have weak support for constraints (e.g. a constraint might have to be duplicated in different objects, or even ignored). Unfortunately, OO models are less stable than even ER models when the UoD... (evolve). For such reasons, OO models should ... (use) only for implementation, not for analysis. Although the detailed picture provided by ORM is desirable in developing and transforming a model, for summary purposes it is useful to hide or compress the display of much of this detail. Various abstraction mechanisms... (exist) for doing this [e.g. CHP96]. If desired, ER and OO diagrams can also ... (use) for providing compact summaries, and ... best... (develop) as views of ORM diagrams. For a simple discussion illustrating the points in this section, see [Hal96]. The rest of this article... (provide) a brief history of ORM, summarizes the ORM notation, ... (illustrate) the conceptual design and relational mapping procedures, and ... (mention) some recent extensions before concluding.
Exercise 3.2. Underline the link words that are used in the paper. Exercise 3.3. Put the link words into the correct column of the table below.
Exercise 3.4. Fill in the prepositions of (2) on (2) to in to make word combinations complete. 1. the focus of ORM is … data modeling 2. in contrast … other modeling techniques 3. expressing the information … terms … elementary relationships 4. based … some logical data model 5. instead … using countryBorn as an attribute of Person Exercise 3.5. Make up your own sentences using the word combinations given in Ex. 3.4. Exercise 3.6. Summarize the Introduction. Exercise 3.7. Boost your vocabulary with the words from the Introduction.
PART B Exercise 3.8. Read and analyze the Introduction given below. |
Последнее изменение этой страницы: 2019-03-30; Просмотров: 224; Нарушение авторского права страницы