Package org.xyz
Class Person
- java.lang.Object
-
- org.xyz.Person
-
public class Person extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPerson.Country
-
Constructor Summary
Constructors Constructor Description Person()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetBirthYear()StringgetId()Person.CountrygetLocation()StringgetName()voidsetBirthYear(Integer birthYear)voidsetId(String id)voidsetLocation(Person.Country location)voidsetName(String name)
-
-
-
Method Detail
-
getId
public String getId()
-
getName
public String getName()
-
getBirthYear
public Integer getBirthYear()
-
getLocation
public Person.Country getLocation()
-
setId
public void setId(String id)
-
setName
public void setName(String name)
-
setBirthYear
public void setBirthYear(Integer birthYear)
-
setLocation
public void setLocation(Person.Country location)
-
-