You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
633 B
29 lines
633 B
package hs.fulda.de.ci.exam.project;
|
|
|
|
import java.util.HashSet;
|
|
|
|
public class Person {
|
|
private String name;
|
|
private Address address;
|
|
private String email;
|
|
private String phone;
|
|
|
|
public Person(String name, Address address, String email, String phone) {
|
|
this.name = name;
|
|
this.address = address;
|
|
this.email = email;
|
|
this.phone = phone;
|
|
}
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
public Address getAddress() {
|
|
return address;
|
|
}
|
|
public String getEmail() {
|
|
return email;
|
|
}
|
|
public String getPhone() {
|
|
return phone;
|
|
}
|
|
}
|