public class Person
extends java.lang.Object
Constructor and Description |
---|
Person() |
Person(int id,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
int |
getId() |
java.lang.String |
getName() |
void |
setId(int id) |
void |
setName(java.lang.String name) |
java.lang.String |
toString() |