|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.perfectjpattern.example.datamodel.Person
public class Person
Person Data Model type
Constructor Summary | |
---|---|
Person()
|
|
Person(String aName,
int anAge)
|
Method Summary | |
---|---|
int |
getAge()
Returns the age |
Long |
getId()
Returns the id |
String |
getName()
Returns the name |
void |
setAge(int anAge)
Sets the age of the person |
void |
setId(Long anId)
Sets the id of the person |
void |
setName(String anName)
Sets the name of the person |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Person()
public Person(String aName, int anAge)
Method Detail |
---|
public Long getId()
public void setId(Long anId)
anId
- the id to setpublic String getName()
public void setName(String anName)
anName
- the name to setpublic int getAge()
public void setAge(int anAge)
anAge
- the age to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |