|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.perfectjpattern.example.datamodel.Customer
public class Customer
Customer Data model object

| Constructor Summary | |
|---|---|
Customer()
|
|
Customer(String aName)
|
|
| Method Summary | |
|---|---|
Long |
getId()
Returns the id |
String |
getName()
Returns the name |
List<Order> |
getOrders()
Returns the orders |
void |
setId(Long anId)
Sets the id of the person |
void |
setName(String aName)
Sets the name of the person |
void |
setOrders(List<Order> anOrders)
Sets the orders |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Customer()
public Customer(String aName)
| Method Detail |
|---|
public Long getId()
public void setId(Long anId)
anId - the id to setpublic String getName()
public void setName(String aName)
aName - the name to setpublic List<Order> getOrders()
public void setOrders(List<Order> anOrders)
anOrders - the orders to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||