Disciplines
- MLA
- APA
- Master's
- Undergraduate
- High School
- PhD
- Harvard
- Biology
- Art
- Drama
- Movies
- Theatre
- Painting
- Music
- Architecture
- Dance
- Design
- History
- American History
- Asian History
- Literature
- Antique Literature
- American Literature
- Asian Literature
- Classic English Literature
- World Literature
- Creative Writing
- English
- Linguistics
- Law
- Criminal Justice
- Legal Issues
- Ethics
- Philosophy
- Religion
- Theology
- Anthropology
- Archaeology
- Economics
- Tourism
- Political Science
- World Affairs
- Psychology
- Sociology
- African-American Studies
- East European Studies
- Latin-American Studies
- Native-American Studies
- West European Studies
- Family and Consumer Science
- Social Issues
- Women and Gender Studies
- Social Work
- Natural Sciences
- Anatomy
- Zoology
- Ecology
- Chemistry
- Pharmacology
- Earth science
- Geography
- Geology
- Astronomy
- Physics
- Agriculture
- Agricultural Studies
- Computer Science
- Internet
- IT Management
- Web Design
- Mathematics
- Business
- Accounting
- Finance
- Investments
- Logistics
- Trade
- Management
- Marketing
- Engineering and Technology
- Engineering
- Technology
- Aeronautics
- Aviation
- Medicine and Health
- Alternative Medicine
- Healthcare
- Nursing
- Nutrition
- Communications and Media
- Advertising
- Communication Strategies
- Journalism
- Public Relations
- Education
- Educational Theories
- Pedagogy
- Teacher's Career
- Statistics
- Chicago/Turabian
- Nature
- Company Analysis
- Sport
- Paintings
- E-commerce
- Holocaust
- Education Theories
- Fashion
- Shakespeare
- Canadian Studies
- Science
- Food Safety
- Relation of Global Warming and Extreme Weather Condition
Paper Types
- Movie Review
- Essay
- Admission Essay
- Annotated Bibliography
- Application Essay
- Article Critique
- Article Review
- Article Writing
- Assessment
- Book Review
- Business Plan
- Business Proposal
- Capstone Project
- Case Study
- Coursework
- Cover Letter
- Creative Essay
- Dissertation
- Dissertation - Abstract
- Dissertation - Conclusion
- Dissertation - Discussion
- Dissertation - Hypothesis
- Dissertation - Introduction
- Dissertation - Literature
- Dissertation - Methodology
- Dissertation - Results
- GCSE Coursework
- Grant Proposal
- Admission Essay
- Annotated Bibliography
- Application Essay
- Article
- Article Critique
- Article Review
- Article Writing
- Assessment
- Book Review
- Business Plan
- Business Proposal
- Capstone Project
- Case Study
- Coursework
- Cover Letter
- Creative Essay
- Dissertation
- Dissertation - Abstract
- Dissertation - Conclusion
- Dissertation - Discussion
- Dissertation - Hypothesis
- Dissertation - Introduction
- Dissertation - Literature
- Dissertation - Methodology
- Dissertation - Results
- Essay
- GCSE Coursework
- Grant Proposal
- Interview
- Lab Report
- Literature Review
- Marketing Plan
- Math Problem
- Movie Analysis
- Movie Review
- Multiple Choice Quiz
- Online Quiz
- Outline
- Personal Statement
- Poem
- Power Point Presentation
- Power Point Presentation With Speaker Notes
- Questionnaire
- Quiz
- Reaction Paper
- Research Paper
- Research Proposal
- Resume
- Speech
- Statistics problem
- SWOT analysis
- Term Paper
- Thesis Paper
- Accounting
- Advertising
- Aeronautics
- African-American Studies
- Agricultural Studies
- Agriculture
- Alternative Medicine
- American History
- American Literature
- Anatomy
- Anthropology
- Antique Literature
- APA
- Archaeology
- Architecture
- Art
- Asian History
- Asian Literature
- Astronomy
- Aviation
- Biology
- Business
- Canadian Studies
- Chemistry
- Chicago/Turabian
- Classic English Literature
- Communication Strategies
- Communications and Media
- Company Analysis
- Computer Science
- Creative Writing
- Criminal Justice
- Dance
- Design
- Drama
- E-commerce
- Earth science
- East European Studies
- Ecology
- Economics
- Education
- Education Theories
- Educational Theories
- Engineering
- Engineering and Technology
- English
- Ethics
- Family and Consumer Science
- Fashion
- Finance
- Food Safety
- Geography
- Geology
- Harvard
- Healthcare
- High School
- History
- Holocaust
- Internet
- Investments
- IT Management
- Journalism
- Latin-American Studies
- Law
- Legal Issues
- Linguistics
- Literature
- Logistics
- Management
- Marketing
- Master's
- Mathematics
- Medicine and Health
- MLA
- Movies
- Music
- Native-American Studies
- Natural Sciences
- Nature
- Nursing
- Nutrition
- Painting
- Paintings
- Pedagogy
- Pharmacology
- PhD
- Philosophy
- Physics
- Political Science
- Psychology
- Public Relations
- Relation of Global Warming and Extreme Weather Condition
- Religion
- Science
- Shakespeare
- Social Issues
- Social Work
- Sociology
- Sport
- Statistics
- Teacher's Career
- Technology
- Theatre
- Theology
- Tourism
- Trade
- Undergraduate
- Web Design
- West European Studies
- Women and Gender Studies
- World Affairs
- World Literature
- Zoology
Class Relationships, Essay Example
Hire a Writer for Custom Essay
Use 10% Off Discount: "custom10" in 1 Click 👇
You are free to use it as an inspiration or a source for your own work.
Introduction
Class relationship shows the connections between different models or objects that share common features. In object based modeling, class relationships are used as the major blocks of construction in modeling the different class diagrams. Class relationships are used by modelers to highlight the interaction between different objects and how the interactions affect the whole system. For example, a simple class relationship may exist in retail store where there are close relationships and interactions between stock taking and purchases within the store (Lenzerini 230).
How to express class relationships
The relationships between different classes can be expressed using the following terms, aggregation, association, composition, multiplicity and inheritance. Aggregation describes the formation of a particular class whereby the class in question results from a collection of many objects. In aggregation, the classes do not rely on each other and therefore the removal of one to the class members does not affect the other members of the class (Lano 560).
Association describes a detailed connection that exists between classes. In association one object may exist in different interrelated classes. There are different types of associations that can be used to present the connection between different objects in different classes. For instance direct association literally refers to the direct relationship between objects in a class. The other type of association is known as reflexive association which takes when an object exists in more one form within a particular class, for example a staff within an organization can either be classified as manager, an assistant manager, or a cleaner. Every form of association has roles and names (Lenzerini 230).
Composition is another element of class relationship which depends on the nature of the class. As such, when the class and its container is destroyed, composition ceases to exist. It is a relationship which tends to rely on the container of the class more than the class itself. Composition and aggregation tend to share common features; however, the main difference between the elements is that composition entirely depends on the container of the given class (Kick 270).
Multiplicity describes a relationship which entirely depends on the cardinality of the class. In this type of relationship different class may exists in a similar environment. However, the classes may share a common denominator which can be used to identify the relationship between them.
Inheritance is a form of class relationship whereby the one class emanates from a big class known as the parent. Both the parent and the child in this type of relationship share common features, however, there be some slight differences depending on the roles of each class. The child may contain specific characteristics of the parents (Kick 270).
To enhance understanding of the term class relationship, it is important to understand how different class interact and operate. The concept of realization is used in the field of modeling to understand how different classes function and interact with each other. Realization concept refers to the adoption of functions of a class that have been identified by another separate class. One class contains the functions while another class implements and uses the functions which have in turn influences the relationship and interaction between the two classes. In class modeling, broken lines can be used to indicate the concept of realization (Lano 560).
Works cited
Lano Haughton. Reasoning and refinement in oo specification languages. In ECOOP ’92. Springer Verlag, 2008.
Lenzerini Nardi, Inheritance Hierarchies in Knowledge Representation and Programming Languages. 2004.
Kick Lieberherr and Ian Holland. Assuring good style for object-oriented programs. IEEE Software, September. 2006.
Walter Opdyke. Refactoring object-oriented frameworks. Technical Report Thesis, University of Illinois at Urbana-Champain. 2006.
Stuck with your Essay?
Get in touch with one of our experts for instant help!
Tags:
Time is precious
don’t waste it!
writing help!
Plagiarism-free
guarantee
Privacy
guarantee
Secure
checkout
Money back
guarantee