atg.commerce.inventory
Class SimpleInventoryInfo

java.lang.Object
  extended by atg.commerce.inventory.SimpleInventoryInfo

public class SimpleInventoryInfo
extends java.lang.Object


Field Summary
static java.lang.String CLASS_VERSION
           
 
Constructor Summary
SimpleInventoryInfo()
           
 
Method Summary
 java.util.Calendar getAvailabilityDate()
          Returns date of availability for this inventory item
 int getAvailabilityStatus()
          Returns availabity status of the inventory item
 java.lang.String getAvailabilityStatusMsg()
          Returns availabity status of the inventory item in readable form
 long getBackorderLevel()
          Returns back order level of inventory item
 java.lang.String getInventoryId()
          Returns Id of this inventory item
 long getPreorderLevel()
          Returns pre order level of inventory item
 long getStockLevel()
          Returns stock level of the inventory item
 void setAvailabilityDate(java.util.Calendar pAvailabilityDate)
          Sets date of availability for this inventory item
 void setAvailabilityDate(java.util.Date pAvailabilityDate)
           
 void setAvailabilityStatus(int pAvailabilityStatus)
          Sets availabity status of the inventory item
 void setAvailabilityStatusMsg(java.lang.String pAvailabilityStatusMsg)
          Sets availabity status of the inventory item in readable form
 void setBackorderLevel(long pBackorderLevel)
          Sets back order level of inventory item
 void setInventoryId(java.lang.String pInventoryId)
          Sets Id of this inventory item
 void setPreorderLevel(long pPreorderLevel)
          Sets pre order level of inventory item
 void setStockLevel(long pStockLevel)
          Sets stock level of the inventory item
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Constructor Detail

SimpleInventoryInfo

public SimpleInventoryInfo()
Method Detail

getStockLevel

public long getStockLevel()
Returns stock level of the inventory item

Returns:
the StockLevel

setStockLevel

public void setStockLevel(long pStockLevel)
Sets stock level of the inventory item

Parameters:
StockLevel -

getBackorderLevel

public long getBackorderLevel()
Returns back order level of inventory item

Returns:
the BackorderLevel

setBackorderLevel

public void setBackorderLevel(long pBackorderLevel)
Sets back order level of inventory item

Parameters:
BackorderLevel -

getPreorderLevel

public long getPreorderLevel()
Returns pre order level of inventory item

Returns:
the PreorderLevel

setPreorderLevel

public void setPreorderLevel(long pPreorderLevel)
Sets pre order level of inventory item

Parameters:
PreorderLevel -

getAvailabilityStatus

public int getAvailabilityStatus()
Returns availabity status of the inventory item

Returns:
the AvailabilityStatus

setAvailabilityStatus

public void setAvailabilityStatus(int pAvailabilityStatus)
Sets availabity status of the inventory item

Parameters:
AvailabilityStatus -

getAvailabilityStatusMsg

public java.lang.String getAvailabilityStatusMsg()
Returns availabity status of the inventory item in readable form

Returns:
the AvailabilityStatusMsg

setAvailabilityStatusMsg

public void setAvailabilityStatusMsg(java.lang.String pAvailabilityStatusMsg)
Sets availabity status of the inventory item in readable form

Parameters:
AvailabilityStatusMsg -

getAvailabilityDate

public java.util.Calendar getAvailabilityDate()
Returns date of availability for this inventory item

Returns:
the AvailabilityDate

setAvailabilityDate

public void setAvailabilityDate(java.util.Calendar pAvailabilityDate)
Sets date of availability for this inventory item

Parameters:
AvailabilityDate -

setAvailabilityDate

public void setAvailabilityDate(java.util.Date pAvailabilityDate)

getInventoryId

public java.lang.String getInventoryId()
Returns Id of this inventory item

Returns:
the InventoryId

setInventoryId

public void setInventoryId(java.lang.String pInventoryId)
Sets Id of this inventory item

Parameters:
InventoryId -

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object