Class ExtendedPersonWithAddress
- java.lang.Object
-
- org.eclipse.nebula.widgets.nattable.dataset.person.Person
-
- org.eclipse.nebula.widgets.nattable.dataset.person.PersonWithAddress
-
- org.eclipse.nebula.widgets.nattable.dataset.person.ExtendedPersonWithAddress
-
public class ExtendedPersonWithAddress extends PersonWithAddress
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.eclipse.nebula.widgets.nattable.dataset.person.Person
Person.Gender
-
-
Field Summary
-
Fields inherited from class org.eclipse.nebula.widgets.nattable.dataset.person.Person
description, money
-
-
Constructor Summary
Constructors Constructor Description ExtendedPersonWithAddress(int id, String firstName, String lastName, Person.Gender gender, boolean married, Date birthday, Address address, String password, String description, double money, List<String> favouriteFood, List<String> favouriteDrinks)
ExtendedPersonWithAddress(Person person, Address address, String password, String description, double money, List<String> favouriteFood, List<String> favouriteDrinks)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAge()
List<String>
getFavouriteDrinks()
List<String>
getFavouriteFood()
String
getFilename()
String
getPassword()
void
setAge(int age)
void
setFavouriteDrinks(List<String> favouriteDrinks)
void
setFavouriteFood(List<String> favouriteFood)
void
setFilename(String filename)
void
setPassword(String password)
-
Methods inherited from class org.eclipse.nebula.widgets.nattable.dataset.person.PersonWithAddress
getAddress, setAddress
-
Methods inherited from class org.eclipse.nebula.widgets.nattable.dataset.person.Person
getBirthday, getDescription, getFirstName, getGender, getId, getLastName, getMoney, isMarried, setBirthday, setDescription, setFirstName, setGender, setLastName, setMarried, setMoney
-
-
-
-
Constructor Detail
-
ExtendedPersonWithAddress
public ExtendedPersonWithAddress(int id, String firstName, String lastName, Person.Gender gender, boolean married, Date birthday, Address address, String password, String description, double money, List<String> favouriteFood, List<String> favouriteDrinks)
-
-
Method Detail
-
getPassword
public String getPassword()
- Returns:
- the password
-
setPassword
public void setPassword(String password)
- Parameters:
password
- the password to set
-
setFavouriteFood
public void setFavouriteFood(List<String> favouriteFood)
- Parameters:
favouriteFood
- the favouriteFood to set
-
setFavouriteDrinks
public void setFavouriteDrinks(List<String> favouriteDrinks)
- Parameters:
favouriteDrinks
- the favouriteDrinks to set
-
getAge
public int getAge()
- Returns:
- the age
-
setAge
public void setAge(int age)
- Parameters:
age
- the age to set
-
getFilename
public String getFilename()
- Returns:
- the filename
-
setFilename
public void setFilename(String filename)
- Parameters:
filename
- the filename to set
-
-