Constructor for subclasses
Added constructors to House, Apartment, TenancyContract and PurchaseContract to make a special instance from an instance of its superclass. Updatet cli.bat. Added Contract to Orm.getAll(Type)
This commit is contained in:
@ -55,6 +55,9 @@ public class ORM {
|
||||
case ESTATE:
|
||||
objects = processEstates(rs);
|
||||
break;
|
||||
case CONTRACT:
|
||||
objects = processEstates(rs);
|
||||
break;
|
||||
}
|
||||
rs.close();
|
||||
pstmt.close();
|
||||
|
||||
Reference in New Issue
Block a user