Object role modeling
From Wikipedia, the free encyclopedia
- Not to be confused with Object-relational mapping.
Object Role Modeling (ORM) in the field of software engineering is a method for conceptual modeling, and can be used as a tool for information and rules analysis.[2]
Contents |
[edit] Overview
Object Role Modeling is a fact-oriented method for performing systems analysis at the conceptual level. The quality of a database application depends critically on its design. To help ensure correctness, clarity, adaptability and productivity, information systems are best specified first at the conceptual level, using concepts and language that people can readily understand. The conceptual design may include data, process and behavioral perspectives, and the actual DBMS used to implement the design might be based on one of many logical data models (relational, hierarchic, network, object-oriented etc.).[3]
The designer of a database builds a formal model of the application area or universe of discourse (UoD). The model requires a good understanding of the UoD and a means of specifying this understanding in a clear, unambiguous way. Object-Role Modeling (ORM) simplifies the design process by using natural language, as well as intuitive diagrams which can be populated with examples, and by examining the information in terms of simple or elementary facts. By expressing the model in terms of natural concepts, like objects and roles, it provides a conceptual approach to modeling. Its attribute-free approach promotes semantic stability.
[edit] History
Object role modeling evolved from the Natural language Information Analysis Method, a methodology that was initially developed by the academic researcher, G.M. Nijssen in the Netherlands (Europe) in the mid-1970s and his research team at the Control Data Corporation Research Laboratory in Belgium. [4], and later at the University of Queensland, Australia in the 1980s. The acronym NIAM originally stood for "Nijssen's Information Analysis Methodology", and later generalised to "Natural language Information Analysis Methodology" and Binary Relationship Modeling since G. M. Nijssen was only one of many people involved in the development of the method. Nijssen and Dr. Terry Halpin provided the first formalization of Object-Role Modeling in joint papers and the work, Conceptual Schema and Relational Database Design, (Prentice Hall, Sydney:1989).
A recent variation of ORM is referred to as FCO-IM. It distinguishes itself from traditional ORM in that it takes a strict communication oriented perspective. Rather than modelling the domain and its essential concepts, it purely models the grammar used to discourse about the domain. Another recent development is the use of ORM in combination with standardised relation types with associated roles and a standard machine-readable dictionary and taxonomy of concepts as are provided in the Gellish English dictionary. Standardisation of relation types (fact types), roles and concepts enables increased possibilities for model integration and model reuse.
[edit] Object role modeling topics
[edit] Graphic notation
ORM's rich graphic notation is capable of capturing many business rules that are typically unsupported as graphic primitives in other popular data modeling notations.
Various software tools exist to enter ORM schemas, and generate relational database schemas. These include Microsoft Visio for Enterprise Architects, OORIANE, CaseTalk, Infagon, and NORMA.
NORMA (Neumont ORM Architect), an open source plug-in to Microsoft Visual Studio 2005, supports ORM 2 (second generation ORM), and maps ORM schemas to a variety of implementation targets, including relational DBMSs, object-oriented code, and XML schema. As of April 2006, NORMA (accessible at the SourceForge link [1] below) is in a prototype stage, but is evolving to a full production version.
A graphical NIAM design tool which included the ability to generate database-creation scripts for Oracle, DB2 and DBQ was developed in the early 1990s in Paris. It was originally named Genesys and was marketed successfully in France and later Canada. It could also handle ER diagram design. It was ported to SCO Unix, SunOs, DEC 3151's and Windows 3.0 platforms, and was later migrated to succeeding Microsoft operating systems, utilising XVT for cross operating system graphical portability. The tool was renamed OORIANE and is currently beeing used for large data warehouse and SOA projects.
[edit] The conceptual schema design procedure
The information system's life cycle typically involves several stages: feasibility study; requirements analysis; conceptual design of data and operations; logical design; external design; prototyping; internal design and implementation; testing and validation; and maintenance. ORM's conceptual schema design procedure (CSDP) focuses on the analysis and design of data. The seven steps of the conceptual schema design procedure:[3]
- Transform familiar information examples into elementary facts, and apply quality checks
- Draw the fact types, and apply a population check
- Check for entity types that should be combined, and note any arithmetic derivations
- Add uniqueness constraints, and check arity of fact types
- Add mandatory role constraints, and check for logical derivations
- Add value, set comparison and subtyping constraints
- Add other constraints and perform final checks
[edit] Tools
DogmaModeler is a free and open source, ontology modeling tool based on Object role modeling. The philosophy of DogmaModeler is to enable non-IT experts to model ontologies with a little or no involvement of an ontology engineer.
This challenge is tackled in DogmaModeler through well-defined methodological principles. The first version of DogmaModeler was developed at the Vrije Universiteit Brussel.
[edit] See also
- Concept map
- Conceptual schema
- Ontology double articulation
- Ontology engineering
- Relational algebra
- Three schema approach
[edit] References
- ^ a b Stephen M. Richard (1999). Geologic Concept Modeling. U.S. Geological Survey Open-File Report 99-386.
- ^ Joachim Rossberg and Rickard Redler (2005). Pro Scalable .NET 2.0 Application Designs.. Page 27
- ^ a b Object Role Modeling: An Overview (msdn.microsoft.com). Retrieved 19 September 2008.
- ^ Terry Halpin (2001). "Object-Role Modeling: an overview". Microsoft Corporation. Retrieved 19 Sept 2008.
- ^ DogmaModeler website
[edit] Further reading
- G.M. Nijssen and Terry Halpin (1989). Conceptual Schema and Relational Database Design. Prentice Hall, Sydney.
- Terry Halpin and Tony Morgan (2008). Information Modeling and Relational Databases: From Conceptual Analysis to Logical Design. Morgan Kaufmann, 2008. ISBN 0123735688,
- Matti Rossi and Keng Siau (2001). Information Modeling in the New Millennium.
[edit] External links
Wikimedia Commons has media related to: Object role modeling |
- Object Role Modeling: An Overview (msdn.microsoft.com)
- orm.net
- objectrolemodeling.com
- SourceForge ORM Project
- NIAM/ORM
- DOGMA Studio, an Eclipse plugin-based fact-oriented ontology engineering tool suite
- CaseTalk, The FCO-IM casetool
- DogmaModeler, an ontology Engineering tool based on ORM
- The ORM foundation
- ORM Workshops: ORM-2005, ORM-2006, ORM2007, ORM-2008