fe37fc0dce
Bugfixes and small Interace changes
...
Improved Interface
removed Bugs from ORM.persist(Contract) and ORM.isApartment()
2017-04-22 13:34:56 +02:00
85010e6025
Changed Contract.date from String to Date
...
Changed Contract.date from String to Date
2017-04-22 13:16:57 +02:00
82c8df3e5c
Implementation of persist(Contract)
...
Added the implementaion of persist(Contract)
Changed 2 types of variables of TenancyContract to Timestamp
Updated Interface for Timestamp input
2017-04-22 13:13:04 +02:00
5151567386
Bugfixes for persist(Person) and isApartment()
...
Bugfixes for persist(Person) and isApartment()
2017-04-22 12:43:24 +02:00
5de082b7f5
Implementation of persist(Person)
...
Implementation of persist(Person)
2017-04-22 12:11:22 +02:00
d2d02b859e
Added missing functions (TODO)
...
Added missing functions without functionalities which need to be
implemented:
persist(Person)
persist(Contract)
isApartment(EstateID)
2017-04-20 16:53:46 +02:00
797742c0dc
Improved Interace for creating Contracts
...
Improved Interace for creating Contracts
Added Person to Type and getAll function.
Added functions to print a List of Estates and Persons.
2017-04-20 16:46:38 +02:00
e75ebc9337
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)
2017-04-20 16:15:52 +02:00
e7bdee2911
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# 02/src/de/dis2017/Main.java
2017-04-19 15:37:25 +02:00
9a8d38a0c7
Person Contracts and Default Values
...
Added Interace for Persons and Contracts.
Used methods with default values for changing Estates or EstateAgents.
2017-04-19 15:28:54 +02:00
582df275b9
Added missing parameter
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-19 15:24:43 +02:00
a41ebd235f
Prevented casting problems
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-19 15:12:49 +02:00
d97f3e76dd
Added persist method for estates
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-19 14:58:15 +02:00
91f79ab7ab
Added delete method for estates
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-19 12:42:15 +02:00
212ec3da44
Added missing return statement
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-19 12:29:38 +02:00
6380420b5a
Added method to load an estate from database
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-19 12:27:21 +02:00
0fe8f78067
Renamed is* methods to has* methods
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-19 11:44:03 +02:00
4841bf612a
Renamed isGarden to hasGarden
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-19 11:42:07 +02:00
acf0d884d2
Added ability to load all estates
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-19 11:26:05 +02:00
b276dea83f
Added agent to Estate
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-19 11:23:17 +02:00
82e0e0f12d
Made postalCode into string and fixed coding style
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-19 11:20:29 +02:00
2cbba5a7f1
Made Estate of non-abstract class
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-19 11:16:00 +02:00
73c676b7c2
Extracted processing of select all query into own method
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-19 10:46:53 +02:00
45af0d8043
Added method to get agent by username
...
This change also reduced redundancy by moving common code parts into
their own methods.
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-19 10:12:47 +02:00
200a28e23d
Added method to delete estate agents
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-18 20:14:09 +02:00
6bfd62bd4d
Made class properties private
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-18 20:09:40 +02:00
30b9c2e90c
Added getAll method to ORM
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-18 19:49:45 +02:00
7005e0b3a5
Added Interface for EstateAgents and Estates
...
Added the Command Line Interface for EstateAgents and Estates without
functionality.
Added Data Structures for Estates, Apartments and Houses.
2017-04-18 17:44:40 +02:00
8a367daec8
Ensures that every persisted agent is managed
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-14 17:00:35 +02:00
2da9b91fce
Renamed method to get
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-14 16:46:10 +02:00
00fd20c980
Moved database interaction into ORM class
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-14 16:45:25 +02:00
2629377995
Moved DB2ConnectionManager into subpackage
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-14 16:38:46 +02:00
ed9af4c313
Changed DB2ConnectionManager to English
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-14 13:43:03 +02:00
c262445b90
Renamed de.dis2011 to de.dis2017
...
* includes also some smaller changes
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-14 13:15:32 +02:00