package com.bib.essensbestellungsverwaltung; /* @author Malte Schulze Hobeling */ public class Address { private long id; private String street; private String number; private String plz; private String city; public long getId() { return id; } public String getStreet() { return street; } public String getNumber() { return number; } public String getPlz() { return plz; } public String getCity() { return city; } public Address(long id, String street, String number, String plz, String city) { this.id = id; this.street = street; this.number = number; this.plz = plz; this.city = city; } public Address(String street, String number, String plz, String city) { this.id = -1; this.street = street; this.number = number; this.plz = plz; this.city = city; } }