|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.geebis.books.model.item.Item
@Name(value="item") public abstract class Item
The Item class represents a generic item that can appear on a sales order, work order, or invoice.
| Constructor Summary | |
|---|---|
Item()
|
|
Item(java.lang.String name)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Gets the description of the item |
java.lang.Long |
getId()
|
java.lang.String |
getName()
Gets the name of the item. |
IncomeAccount |
getSalesAccount()
Gets the sales account for this product |
java.lang.Integer |
getVersion()
|
void |
setDescription(java.lang.String description)
Sets the description of the item |
void |
setId(java.lang.Long id)
|
void |
setName(java.lang.String name)
Sets the name of the item. |
void |
setSalesAccount(IncomeAccount salesAccount)
Sets the sales account to use with this product |
void |
setVersion(java.lang.Integer version)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Item()
public Item(java.lang.String name)
| Method Detail |
|---|
public java.lang.String getName()
public void setName(java.lang.String name)
name - the new name for the itempublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - the new description of the itempublic IncomeAccount getSalesAccount()
public void setSalesAccount(IncomeAccount salesAccount)
salesAccount - the new sales account to use with this productpublic java.lang.Integer getVersion()
public void setVersion(java.lang.Integer version)
public java.lang.Long getId()
public void setId(java.lang.Long id)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||