Jim Martens
0648382c86
Fixed persisting of contracts
...
Signed-off-by: Jim Martens <github@2martens.de>
2017-04-26 15:19:59 +02:00
Jim Martens
f19acc875f
Made delete estate method atomic
...
Signed-off-by: Jim Martens <github@2martens.de>
2017-04-26 15:19:48 +02:00
Jim Martens
e53663189b
Added editorconfig file
...
Signed-off-by: Jim Martens <github@2martens.de>
2017-04-26 10:18:31 +02:00
Jim Martens
cded76920c
Reintroduced support for updating contracts
...
Signed-off-by: Jim Martens <github@2martens.de>
2017-04-25 17:35:56 +02:00
Jim Martens
010fc9e21d
Removed invalid call
...
Signed-off-by: Jim Martens <github@2martens.de>
2017-04-25 16:55:56 +02:00
Jim Martens
3434fcae70
Added fallback for IDE case
...
Signed-off-by: Jim Martens <github@2martens.de>
2017-04-25 16:53:37 +02:00
Jim Martens
0a2846d7f2
Fixed persisting of estates
...
Signed-off-by: Jim Martens <github@2martens.de>
2017-04-25 16:35:18 +02:00
Jim Martens
1bb3199b3b
Reduced visibility to the required level
...
Signed-off-by: Jim Martens <github@2martens.de>
2017-04-25 16:29:31 +02:00
Jim Martens
b180ee52e6
Removed obsolete code
...
Signed-off-by: Jim Martens <github@2martens.de>
2017-04-25 16:13:33 +02:00
Jim Martens
9366ab384e
Reformatted the codebase
...
Signed-off-by: Jim Martens <github@2martens.de>
2017-04-25 16:09:55 +02:00
Jim Martens
6e7c1ed8bd
Reintroduced newContract parts from prev commit
...
Signed-off-by: Jim Martens <github@2martens.de>
2017-04-24 17:56:39 +02:00
Jim Martens
aac2115421
Merge branch 'master' of github.com:frmwrk123/dis
2017-04-24 17:42:34 +02:00
Jim Martens
03803d8453
Prevented dead-end
...
Signed-off-by: Jim Martens <github@2martens.de>
2017-04-24 17:25:09 +02:00
Jim Martens
24c884756f
Hides already sold or rented apartments
...
Signed-off-by: Jim Martens <github@2martens.de>
2017-04-24 17:17:53 +02:00
Jim Martens
d54de4856c
Added ability to get sold houses and rented apartments
...
Signed-off-by: Jim Martens <github@2martens.de>
2017-04-24 17:15:34 +02:00
Jim Martens
e7382026e9
Completed contract functionality
...
Signed-off-by: Jim Martens <github@2martens.de>
2017-04-24 16:54:33 +02:00
Jim Martens
a1487f4d4f
Added ability to persist contracts
...
Signed-off-by: Jim Martens <github@2martens.de>
2017-04-24 16:43:10 +02:00
Jim Martens
81fab4a99a
Added ability to list persons, houses and apartments
...
Signed-off-by: Jim Martens <github@2martens.de>
2017-04-24 16:17:37 +02:00
Jim Martens
b695bc3657
Added types PERSON, HOUSE and APARTMENT
...
Signed-off-by: Jim Martens <github@2martens.de>
2017-04-24 15:47:05 +02:00
Jim Martens
60283aa7a3
Made setting the start date easier
...
Signed-off-by: Jim Martens <github@2martens.de>
2017-04-24 15:40:05 +02:00
Jim Martens
6abe846e8a
Added ability to persist persons
...
Signed-off-by: Jim Martens <github@2martens.de>
2017-04-24 15:25:51 +02:00
Jim Martens
1e1d9dc179
Changed duration type to Duration
...
Signed-off-by: Jim Martens <github@2martens.de>
2017-04-24 15:17:38 +02:00
Jim Martens
f3a365aa3e
Fixed type of startDate and duration in TenancyContract
...
Signed-off-by: Jim Martens <github@2martens.de>
2017-04-24 14:59:14 +02:00
Jim Martens
781a74ade2
Added id to Person class
...
Signed-off-by: Jim Martens <github@2martens.de>
2017-04-24 14:44:20 +02:00
Jim Martens
8453062df9
Added ability to retrieve a person
...
Signed-off-by: Jim Martens <github@2martens.de>
2017-04-24 14:44:07 +02:00
Jim Martens
bd18b9f0c8
Added showContract method
...
Signed-off-by: Jim Martens <github@2martens.de>
2017-04-24 14:28:29 +02:00
Jim Martens
e136cfec15
Fixed some formatting issues
...
Signed-off-by: Jim Martens <github@2martens.de>
2017-04-24 14:24:46 +02:00
Jim Martens
e0fb69437e
Changed startDate to int to reflect database state
...
Signed-off-by: Jim Martens <github@2martens.de>
2017-04-24 14:19:23 +02:00
Jim Martens
e5350da142
Added ability to retrieve list of contracts
...
Signed-off-by: Jim Martens <github@2martens.de>
2017-04-24 13:46:00 +02:00
Jim Martens
fb777a5bfc
Added space
...
Signed-off-by: Jim Martens <github@2martens.de>
2017-04-24 13:44:03 +02:00
Togepy95
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
Togepy95
85010e6025
Changed Contract.date from String to Date
...
Changed Contract.date from String to Date
2017-04-22 13:16:57 +02:00
Togepy95
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
Togepy95
5151567386
Bugfixes for persist(Person) and isApartment()
...
Bugfixes for persist(Person) and isApartment()
2017-04-22 12:43:24 +02:00
Togepy95
5de082b7f5
Implementation of persist(Person)
...
Implementation of persist(Person)
2017-04-22 12:11:22 +02:00
Togepy95
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
Togepy95
799d2ab0fe
Added ID to output from printListOfPersons()
...
Added ID to output from printListOfPersons()
2017-04-20 16:48:23 +02:00
Togepy95
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
Togepy95
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
Jim Martens
7c4a6a7dbe
Added default value to console output
...
Signed-off-by: Jim Martens <github@2martens.de>
2017-04-19 15:44:47 +02:00
Jim Martens
266e53aba1
Simplified readPassword method
...
Signed-off-by: Jim Martens <github@2martens.de>
2017-04-19 15:41:48 +02:00
Jim Martens
b0590a5597
Improved formatting
...
Signed-off-by: Jim Martens <github@2martens.de>
2017-04-19 15:41:27 +02:00
Togepy95
e7bdee2911
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# 02/src/de/dis2017/Main.java
2017-04-19 15:37:25 +02:00
Togepy95
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
Jim Martens
cc50f64d86
Unified order of form items
...
Signed-off-by: Jim Martens <github@2martens.de>
2017-04-19 15:28:42 +02:00
Jim Martens
2b92772f04
Added ability to modify the agent of an estate
...
Signed-off-by: Jim Martens <github@2martens.de>
2017-04-19 15:25:56 +02:00
Jim Martens
582df275b9
Added missing parameter
...
Signed-off-by: Jim Martens <github@2martens.de>
2017-04-19 15:24:43 +02:00
Jim Martens
a124303c7f
Agent detail is now shown in estate details
...
Signed-off-by: Jim Martens <github@2martens.de>
2017-04-19 15:14:20 +02:00
Jim Martens
b862fad103
Removed obsolete code
...
Signed-off-by: Jim Martens <github@2martens.de>
2017-04-19 15:13:00 +02:00
Jim Martens
a41ebd235f
Prevented casting problems
...
Signed-off-by: Jim Martens <github@2martens.de>
2017-04-19 15:12:49 +02:00