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

java.lang.Object
  extended by org.geebis.books.model.item.retail.AssemblyLine
All Implemented Interfaces:
java.io.Serializable

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

The AssemblyLine class represents a line item on an assembly

See Also:
Serialized Form

Constructor Summary
AssemblyLine()
           
AssemblyLine(RetailItem retailItem, java.lang.Double quantity)
           
 
Method Summary
 java.lang.Long getId()
           
 RetailItem getItem()
          Gets the retailItem for this assembly line
 java.lang.Double getQuantity()
          Gets the quantity of this assembly line
 java.lang.Integer getVersion()
           
 void setId(java.lang.Long id)
           
 void setItem(RetailItem retailItem)
          Sets the retailItem for this assembly line
 void setQuantity(java.lang.Double quantity)
          Sets the quantity of this assembly 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

AssemblyLine

public AssemblyLine()

AssemblyLine

public AssemblyLine(RetailItem retailItem,
                    java.lang.Double quantity)
Method Detail

getItem

public RetailItem getItem()
Gets the retailItem for this assembly line

Returns:
the assemblable retailItem for this assembly line

setItem

public void setItem(RetailItem retailItem)
Sets the retailItem for this assembly line

Parameters:
retailItem - the new retailItem for this assembly line

getQuantity

public java.lang.Double getQuantity()
Gets the quantity of this assembly line

Returns:
the quantity of this assembly line

setQuantity

public void setQuantity(java.lang.Double quantity)
Sets the quantity of this assembly line

Parameters:
quantity - the new quantity of this assembly line

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)