Class Person
java.lang.Object
org.eclipse.nebula.widgets.nattable.dataset.person.Person
- Direct Known Subclasses:
PersonWithAddress
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetId()getMoney()booleanvoidsetBirthday(Date birthday) voidsetDescription(String description) voidsetFirstName(String firstName) voidsetGender(Person.Gender gender) voidsetLastName(String lastName) voidsetMarried(boolean married) void
-
Field Details
-
money
-
description
-
-
Constructor Details
-
Person
public Person(int id) -
Person
public Person(int id, String firstName, String lastName, Person.Gender gender, boolean married, Date birthday) -
Person
public Person(int id, String firstName, String lastName, Person.Gender gender, boolean married, Date birthday, Double money)
-
-
Method Details
-
getId
public int getId()- Returns:
- the id
-
getFirstName
- Returns:
- the firstName
-
setFirstName
- Parameters:
firstName- the firstName to set
-
getLastName
- Returns:
- the lastName
-
setLastName
- Parameters:
lastName- the lastName to set
-
getGender
- Returns:
- the gender
-
setGender
- Parameters:
gender- the gender to set
-
isMarried
public boolean isMarried()- Returns:
- the married
-
setMarried
public void setMarried(boolean married) - Parameters:
married- the married to set
-
getBirthday
- Returns:
- the birthday
-
setBirthday
- Parameters:
birthday- the birthday to set
-
getMoney
- Returns:
- the money
-
setMoney
- Parameters:
money- the money to set
-
getDescription
- Returns:
- the description
-
setDescription
- Parameters:
description- the description to set
-