org.geebis.books.model.item.retail
Class Assembly

java.lang.Object
  extended by org.geebis.books.model.item.Item
      extended by org.geebis.books.model.item.retail.RetailItem
          extended by org.geebis.books.model.item.retail.Product
              extended by org.geebis.books.model.item.retail.SerializedProduct
                  extended by org.geebis.books.model.item.retail.Assembly
All Implemented Interfaces:
java.io.Serializable

@Name(value="assembly")
public class Assembly
extends SerializedProduct
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
Assembly()
           
Assembly(java.lang.String name)
           
 
Method Summary
 java.util.List<AssemblyLine> getLines()
          Gets the lines for this assembly
 void setLines(java.util.List<AssemblyLine> lines)
          Sets the lines for this assembly
 
Methods inherited from class org.geebis.books.model.item.retail.SerializedProduct
getSerialNumbers, setSerialNumbers
 
Methods inherited from class org.geebis.books.model.item.retail.Product
getAssetAccount, getManufacturer, getManufacturerDescription, getManufacturerPartNumber, getPreferredVendor, getUnitsOnHand, setAssetAccount, setManufacturer, setManufacturerDescription, setManufacturerPartNumber, setPreferredVendor, setUnitsOnHand
 
Methods inherited from class org.geebis.books.model.item.retail.RetailItem
getAverageCost, getRetail, getTrackable, setAverageCost, setRetail, setTrackable
 
Methods inherited from class org.geebis.books.model.item.Item
getDescription, getId, getName, getSalesAccount, getVersion, setDescription, setId, setName, setSalesAccount, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Assembly

public Assembly()

Assembly

public Assembly(java.lang.String name)
Method Detail

getLines

public java.util.List<AssemblyLine> getLines()
Gets the lines for this assembly

Returns:
the lines for this assembly

setLines

public void setLines(java.util.List<AssemblyLine> lines)
Sets the lines for this assembly

Parameters:
lines - the new lines for this assembly