public class Person extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Person.DetailedPersonView |
static class |
Person.SimplePersonView |
| Constructor and Description |
|---|
Person() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAddress() |
int |
getAge() |
int |
getHeight()
This gets the height
|
String |
getName() |
void |
setAddress(String address)
This sets the address
|
void |
setAge(int age)
This sets the age
|
void |
setHeight(int height)
This sets the height
|
void |
setName(String name)
This sets the name
|
public String getName()
public String getAddress()
public int getAge()
public int getHeight()
public void setHeight(int height)
height - the height to setpublic void setName(String name)
name - the name to setpublic void setAddress(String address)
address - the address to setpublic void setAge(int age)
age - the age to setCopyright © 2014. All rights reserved.