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

| Constructor Summary | |
|---|---|
Product()
|
|
Product(String aName,
double aListPrice)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object anAnother)
|
long |
getId()
Returns the id |
double |
getListPrice()
Returns the listPrice |
String |
getName()
Returns the name |
Set<Order> |
getOrders()
Returns the orders |
int |
hashCode()
|
void |
setId(long anId)
Sets the id of the person |
void |
setListPrice(double aListPrice)
Sets the listPrice |
void |
setName(String anName)
Sets the name of the person |
void |
setOrders(Set<Order> anOrders)
Sets the orders |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Product()
public Product(String aName,
double aListPrice)
| 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 double getListPrice()
public void setListPrice(double aListPrice)
aListPrice - the listPrice to setpublic Set<Order> getOrders()
public void setOrders(Set<Order> anOrders)
anOrders - the orders to setpublic final int hashCode()
hashCode in class Objectpublic final boolean equals(Object anAnother)
equals in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||