|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ojb.tutorials.Product
represents product objects in the tutorial system
Constructor Summary | |
Product()
|
Method Summary | |
java.lang.Integer |
getId()
Insert the method's description here. |
java.lang.String |
getName()
Insert the method's description here. |
java.lang.Double |
getPrice()
Insert the method's description here. |
java.lang.Integer |
getStock()
Insert the method's description here. |
void |
setId(java.lang.Integer new_id)
Insert the method's description here. |
void |
setName(java.lang.String newName)
Insert the method's description here. |
void |
setPrice(java.lang.Double newPrice)
Insert the method's description here. |
void |
setStock(java.lang.Integer newStock)
Insert the method's description here. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Product()
Method Detail |
public java.lang.Integer getId()
public java.lang.String getName()
public java.lang.Double getPrice()
public java.lang.Integer getStock()
public void setId(java.lang.Integer new_id)
new_id
- intpublic void setName(java.lang.String newName)
newName
- java.lang.Stringpublic void setPrice(java.lang.Double newPrice)
newPrice
- doublepublic void setStock(java.lang.Integer newStock)
newStock
- intpublic java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |