public class WarehouseQuantity extends JDBCObject<WarehouseQuantity>
A warehouse quantity object contains information retrieved from the ERP system. The information has a short life span (typically the life of a product list) and is therefore not persisted to a database table.
Each product object stores its own set of warehouse quantities. See
the Product class' methods for getWarehouseQtys and setWarehouseQtys.
| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID
The class' serialization version id.
|
LOWVAL_RPG_DATE, LOWVAL_RPG_TIME, STATUS_ACTIVE, STATUS_BLANK, STATUS_CANCELED, STATUS_DELETED, STATUS_INACTIVE, STATUS_PENDINGivHashCode, ivHashFlds, ivObjAttrs| Constructor and Description |
|---|
WarehouseQuantity()
Constructs a
WarehouseQuantity object with all field values set
to null. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Returns the description.
|
java.lang.String |
getDetailLink()
(not persisted) Returns the warehouse details link.
|
java.util.ArrayList<WarehouseDetail> |
getDetails()
Returns the collection of warehouse details.
|
java.lang.String |
getId()
Returns the unique id for the warehouse.
|
boolean |
getLinkToDetail()
Returns the link to warehouse details flag.
|
int |
getQuantity()
Returns the quantity available.
|
void |
setDescription(java.lang.String value)
Sets the description.
|
void |
setDetailLink(java.lang.String value)
(not persisted) Sets the warehouse details link.
|
void |
setDetails(java.util.ArrayList<WarehouseDetail> value)
Sets the collection of warehouse details.
|
void |
setId(java.lang.String value)
Sets the unique id for the warehouse.
|
void |
setLinkToDetail(boolean value)
Sets the link to warehouse details flag.
|
void |
setQuantity(int value)
Sets the quantity available.
|
after, before, compareTo, equals, fmtStatus, fmtStatus, getObjectStatus, hashKey, setObjectStatuscloneMapAttributes, formatValue, formatValue, getHashFields, getMapArrayList, getMapAttributes, getMapBigDecimal, getMapBoolean, getMapDate, getMapDouble, getMapInteger, getMapLong, getMapMapped, getMapObject, getMapShort, getMapString, getMapString, getMapStringBuffer, getMapStringBuilder, getMapTime, getMapTimestamp, getMapVector, hashCode, setHashFields, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMap, setMapAttributes, setMapObject, setMapTime, setMapTimestamp, toStringArrayprivate static final long serialVersionUID
public WarehouseQuantity()
WarehouseQuantity object with all field values set
to null.public java.lang.String getId()
public void setId(java.lang.String value)
value - (String) The unique id for the warehouse.public java.lang.String getDescription()
public void setDescription(java.lang.String value)
value - (String) The description.public int getQuantity()
public void setQuantity(int value)
value - (int) The quantity available.public boolean getLinkToDetail()
public void setLinkToDetail(boolean value)
value - (boolean) The link to warehouse details flag.public java.util.ArrayList<WarehouseDetail> getDetails()
null if no warehouse
details exists for the warehouse.public void setDetails(java.util.ArrayList<WarehouseDetail> value)
value - (ArrayList) The warehouse details.public java.lang.String getDetailLink()
public void setDetailLink(java.lang.String value)
value - (String) The details link.