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.
This commit is contained in:
Togepy95
2017-04-18 17:44:40 +02:00
parent 371bf27f92
commit 7005e0b3a5
200 changed files with 15026 additions and 3 deletions

View File

@ -0,0 +1,40 @@
package de.dis2017.data;
public class Apartment extends Estate{
int floor;
int rent;
int rooms;
boolean balcony;
boolean builtinKitchen;
public int getFloor() {
return floor;
}
public void setFloor(int floor) {
this.floor = floor;
}
public int getRent() {
return rent;
}
public void setRent(int rent) {
this.rent = rent;
}
public int getRooms() {
return rooms;
}
public void setRooms(int rooms) {
this.rooms = rooms;
}
public boolean isBalcony() {
return balcony;
}
public void setBalcony(boolean balcony) {
this.balcony = balcony;
}
public boolean isBuiltinKitchen() {
return builtinKitchen;
}
public void setBuiltinKitchen(boolean builtinKitchen) {
this.builtinKitchen = builtinKitchen;
}
}