1bb3199b3b
Reduced visibility to the required level
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-25 16:29:31 +02:00
b180ee52e6
Removed obsolete code
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-25 16:13:33 +02:00
9366ab384e
Reformatted the codebase
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-25 16:09:55 +02:00
6e7c1ed8bd
Reintroduced newContract parts from prev commit
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-24 17:56:39 +02:00
aac2115421
Merge branch 'master' of github.com:frmwrk123/dis
2017-04-24 17:42:34 +02:00
03803d8453
Prevented dead-end
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-24 17:25:09 +02:00
24c884756f
Hides already sold or rented apartments
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-24 17:17:53 +02:00
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
e7382026e9
Completed contract functionality
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-24 16:54:33 +02:00
a1487f4d4f
Added ability to persist contracts
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-24 16:43:10 +02:00
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
b695bc3657
Added types PERSON, HOUSE and APARTMENT
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-24 15:47:05 +02:00
60283aa7a3
Made setting the start date easier
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-24 15:40:05 +02:00
6abe846e8a
Added ability to persist persons
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-24 15:25:51 +02:00
1e1d9dc179
Changed duration type to Duration
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-24 15:17:38 +02:00
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
781a74ade2
Added id to Person class
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-24 14:44:20 +02:00
8453062df9
Added ability to retrieve a person
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-24 14:44:07 +02:00
bd18b9f0c8
Added showContract method
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-24 14:28:29 +02:00
e136cfec15
Fixed some formatting issues
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-24 14:24:46 +02:00
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
e5350da142
Added ability to retrieve list of contracts
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-24 13:46:00 +02:00
fb777a5bfc
Added space
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-24 13:44:03 +02:00
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
799d2ab0fe
Added ID to output from printListOfPersons()
...
Added ID to output from printListOfPersons()
2017-04-20 16:48:23 +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
7c4a6a7dbe
Added default value to console output
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-19 15:44:47 +02:00
266e53aba1
Simplified readPassword method
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-19 15:41:48 +02:00
b0590a5597
Improved formatting
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-19 15:41:27 +02:00
e7bdee2911
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# 02/src/de/dis2017/Main.java
2017-04-19 15:37:25 +02:00
8c79f58f1a
Changed Gitignore
...
Changed Gitignore
2017-04-19 15:32:21 +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
cc50f64d86
Unified order of form items
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-19 15:28:42 +02:00
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
582df275b9
Added missing parameter
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-19 15:24:43 +02:00
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
b862fad103
Removed obsolete code
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-19 15:13:00 +02:00
a41ebd235f
Prevented casting problems
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-19 15:12:49 +02:00
49879b57f5
Added protected cast
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-19 15:07:54 +02:00
f400ce9eb2
Added batch script to start application via true CLI on Windows
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-19 15:04:32 +02:00
d97f3e76dd
Added persist method for estates
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-19 14:58:15 +02:00
8ecc87fa4b
Added method variants with default values
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-19 13:13:24 +02:00
c9ec1aadc2
Shortened newEstate method
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-19 12:59:26 +02:00
51ede6f4ea
Changed order of form objects
...
Signed-off-by: Jim Martens <github@2martens.de >
2017-04-19 12:49:22 +02:00