org.geebis.books.model.po
Class PurchaseOrderLine

java.lang.Object
  extended by org.geebis.books.model.po.PurchaseOrderLine
All Implemented Interfaces:
java.io.Serializable

@Name(value="purchaseOrderLine")
public class PurchaseOrderLine
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
PurchaseOrderLine()
           
 
Method Summary
 java.lang.Double getCost()
          Gets the purchase cost of this line
 Customer getCustomer()
          Gets the customer for whom this PO line is for
 java.lang.Long getId()
           
 Item getItem()
          Gets the item that's on this po line
 java.lang.String getNotes()
          Gets the notes for this po line
 PurchaseOrderLine getParent()
          Gets the parent po line for this line.
 java.lang.Double getQuantity()
          Gets the purchase quantity for this po line
 java.lang.Integer getVersion()
           
 void setCost(java.lang.Double cost)
          Sets the purchase cost for this line
 void setCustomer(Customer customer)
          Sets the customer for whom this PO line is for
 void setId(java.lang.Long id)
           
 void setItem(Item item)
          Sets the item on this po line
 void setNotes(java.lang.String notes)
          Sets the notes for this po line
 void setParent(PurchaseOrderLine parent)
          Sets the parent po line for this line.
 void setQuantity(java.lang.Double quantity)
          Sets the purchase quantity for this po line
 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

PurchaseOrderLine

public PurchaseOrderLine()
Method Detail

getItem

public Item getItem()
Gets the item that's on this po line

Returns:
the item on this po line

setItem

public void setItem(Item item)
Sets the item on this po line

Parameters:
item - the new item on this po line

getNotes

public java.lang.String getNotes()
Gets the notes for this po line

Returns:
the notes for this po line

setNotes

public void setNotes(java.lang.String notes)
Sets the notes for this po line

Parameters:
notes - the new notes for this po line

getQuantity

public java.lang.Double getQuantity()
Gets the purchase quantity for this po line

Returns:
the purchase quantity for this po line

setQuantity

public void setQuantity(java.lang.Double quantity)
Sets the purchase quantity for this po line

Parameters:
quantity - the new purchase quantity for this line

getCost

public java.lang.Double getCost()
Gets the purchase cost of this line

Returns:
the purchase cost of this line

setCost

public void setCost(java.lang.Double cost)
Sets the purchase cost for this line

Parameters:
cost - the purchase cost for this line

getCustomer

public Customer getCustomer()
Gets the customer for whom this PO line is for

Returns:
the customer for whom this PO line is for

setCustomer

public void setCustomer(Customer customer)
Sets the customer for whom this PO line is for

Parameters:
customer - the new customer for whom this PO line is for

getParent

public PurchaseOrderLine getParent()
Gets the parent po line for this line. When the parent line is deleted so are the children

Returns:
the parent po line for this line

setParent

public void setParent(PurchaseOrderLine parent)
Sets the parent po line for this line.

Parameters:
parent - the new parent po line
See Also:
getParent()

getVersion

public java.lang.Integer getVersion()

setVersion

public void setVersion(java.lang.Integer version)

getId

public java.lang.Long getId()

setId

public void setId(java.lang.Long id)