public class Person
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
Person.PersonProperty<E>
the purpose of this class is to compress verbose getter and setter logic
|
Modifier and Type | Field and Description |
---|---|
Person.PersonProperty<java.lang.Integer> |
age |
Person.PersonProperty<java.lang.String[]> |
aliases |
Person.PersonProperty<java.util.Date> |
birthDate |
Person.PersonProperty<java.lang.Boolean> |
isMale |
Person.PersonProperty<java.lang.String> |
name |
Person.PersonProperty<java.lang.Long> |
personalId |
Constructor and Description |
---|
Person(java.lang.String name,
int age,
boolean isMale,
long personalId,
java.util.Date birthDate,
java.lang.String... aliases) |
public final Person.PersonProperty<java.lang.String> name
public final Person.PersonProperty<java.lang.Integer> age
public final Person.PersonProperty<java.lang.Boolean> isMale
public final Person.PersonProperty<java.lang.Long> personalId
public final Person.PersonProperty<java.util.Date> birthDate
public final Person.PersonProperty<java.lang.String[]> aliases