The specification of this assignment is as follows. 1. As a real estate agency, ALH is involved with selling and renting properties. A major assumption is that these properties share some common or...


The specification of this assignment is as follows. 1. As a real estate agency, ALH is involved with selling and renting properties.
A major assumption is that these properties share some common or generic attributes like street address, number of bedrooms, number of bathrooms, and number of garages.
2. In order to reduce code redundancy, you must implement inheritance mapping using ORM (Object Relational Mapping) technology in this assignment. As a part of assignment requirements, you must: a. Implement at least 1 superclass entity namely Property by using either the JoinedSubclass Strategy (detailed on page 170 of the textbook) or the Mapped Superclass Strategy (detailed on page 174 to 175 of the textbook).
b. Implement at least 2 subclass entities (PropertyForSale and PropertyForRent) that inherit the above superclass entity (Property) to abstract common properties and/or operations. These inherited classes will have some additional attributes on its own such as sale price (in PropertyForSale), rent per week (in PropertyForRent).





Oct 07, 2019
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here