public class InventoryThresholdReached
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
static java.lang.String |
TYPE |
Constructor and Description |
---|
InventoryThresholdReached() |
Modifier and Type | Method and Description |
---|---|
long |
getCurrentValue()
The current value of the property that this threshold applies to
|
double |
getCurrentValueWithFraction()
The current value with fraction 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 |
getLocationId()
The location of the inventory whose threshold has been reached.
|
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 |
setCurrentValueWithFraction(double pCurrentValueWithFraction) |
void |
setId(java.lang.String pId) |
void |
setInventoryId(java.lang.String pInventoryId) |
void |
setLevelPropertyName(java.lang.String pLevelPropertyName) |
void |
setLocationId(java.lang.String pLocationId) |
void |
setThresholdPropertyName(java.lang.String pThresholdPropertyName) |
void |
setThresholdValue(long pThresholdValue) |
java.lang.String |
toString() |
public static java.lang.String CLASS_VERSION
public static final java.lang.String TYPE
public void setId(java.lang.String pId)
public java.lang.String getId()
public void setInventoryId(java.lang.String pInventoryId)
public java.lang.String getInventoryId()
public void setLocationId(java.lang.String pLocationId)
public java.lang.String getLocationId()
public void setLevelPropertyName(java.lang.String pLevelPropertyName)
public java.lang.String getLevelPropertyName()
public void setThresholdPropertyName(java.lang.String pThresholdPropertyName)
public java.lang.String getThresholdPropertyName()
public void setCurrentValue(long pCurrentValue)
public long getCurrentValue()
public void setCurrentValueWithFraction(double pCurrentValueWithFraction)
public double getCurrentValueWithFraction()
public void setThresholdValue(long pThresholdValue)
public long getThresholdValue()
public java.lang.String getType()
public java.lang.String toString()
toString
in class java.lang.Object