atg.commerce.inventory
Class InventoryThresholdReached

java.lang.Object
  extended by atg.commerce.inventory.InventoryThresholdReached
All Implemented Interfaces:
java.io.Serializable

public class InventoryThresholdReached
extends java.lang.Object
implements java.io.Serializable

This class is an event that gets thrown when some threshold in the inventory has been reached. It contains the name of the property whose threshold has been reach as well as the name of the threshold, the current value of the property and the value of the threshold.

See Also:
Created: Thu Mar 02 11:07:18 2000, Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
static java.lang.String TYPE
           
 
Constructor Summary
InventoryThresholdReached()
           
 
Method Summary
 long getCurrentValue()
          The current value of the property that this threshold applies to
 java.lang.String getId()
           
 java.lang.String getInventoryId()
          The id of the InventoryId whose threshold has been reached.
 java.lang.String getLevelPropertyName()
          The name of the property that this threshold applies to.
 java.lang.String getThresholdPropertyName()
          The property name of the threshold that has been reached.
 long getThresholdValue()
          The value of the threshold
 java.lang.String getType()
          Returns the type of this event.
 void setCurrentValue(long pCurrentValue)
           
 void setId(java.lang.String pId)
           
 void setInventoryId(java.lang.String pInventoryId)
           
 void setLevelPropertyName(java.lang.String pLevelPropertyName)
           
 void setThresholdPropertyName(java.lang.String pThresholdPropertyName)
           
 void setThresholdValue(long pThresholdValue)
           
 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
Class version string


TYPE

public static final java.lang.String TYPE
See Also:
Constant Field Values
Constructor Detail

InventoryThresholdReached

public InventoryThresholdReached()
Method Detail

setId

public void setId(java.lang.String pId)

getId

public java.lang.String getId()

setInventoryId

public void setInventoryId(java.lang.String pInventoryId)

getInventoryId

public java.lang.String getInventoryId()
The id of the InventoryId whose threshold has been reached.


setLevelPropertyName

public void setLevelPropertyName(java.lang.String pLevelPropertyName)

getLevelPropertyName

public java.lang.String getLevelPropertyName()
The name of the property that this threshold applies to.


setThresholdPropertyName

public void setThresholdPropertyName(java.lang.String pThresholdPropertyName)

getThresholdPropertyName

public java.lang.String getThresholdPropertyName()
The property name of the threshold that has been reached.


setCurrentValue

public void setCurrentValue(long pCurrentValue)

getCurrentValue

public long getCurrentValue()
The current value of the property that this threshold applies to


setThresholdValue

public void setThresholdValue(long pThresholdValue)

getThresholdValue

public long getThresholdValue()
The value of the threshold


getType

public java.lang.String getType()
Returns the type of this event.


toString

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