Class BOStock
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.inventory.bl.warehouse.stock.BOStock
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Business object representing a stock.
- Since:
- 13.0
- See Also:
- GCApi:
- bo
-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocall.model.DynO
DynO.SpanFields, DynO.SpanTable, DynO.Valid -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()Returns the stock id.Returns the last transaction id.Returns the measure unit id.Returns the stock quantity.getType()Returns the stock type id.Returns the warehouse-material relation id.voidSets the stock id.voidsetLastTransaction(Long lastTransaction) Sets the last transaction id.voidsetMeasureUnit(Long measureUnit) Sets the measure unit id.voidsetQuantity(Double quantity) Sets the stock quantity.voidSets the stock type id.voidsetWarehouseMaterial(Long warehouseMaterial) Sets the warehouse-material relation id.Methods inherited from class overit.geocall.model.DynO
addExtension, extract, extract, fields, from, from, getCriteria, getCriteriaNotExploded, getExtension, getFakeFilter, getUnknownAttributes, getUnknownCriteria, getVariant, getZone, insert, insert, isValid, make, removeCriteria, removeExtensionAttribute, setCriteria, setCriteriaNotExploded, setExtension, setFakeFilter, setUnknownAttributes, setUnknownCriteria, setVariant, setZone, toFlatMap, toFlatMap, toMap, toMap, toString, update, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.validation.ConstraintValidator
initializeMethods inherited from interface overit.geocall.timezone.model.TimeZoned
hasZone
-
Constructor Details
-
BOStock
public BOStock()
-
-
Method Details
-
getId
Returns the stock id.- Returns:
- the the stock id
-
setId
Sets the stock id.- Parameters:
id- the stock id
-
getWarehouseMaterial
Returns the warehouse-material relation id.- Returns:
- the warehouse-material relation id
- See Also:
-
setWarehouseMaterial
Sets the warehouse-material relation id.- Parameters:
warehouseMaterial- warehouse-material relation id.- See Also:
-
getType
Returns the stock type id.- Returns:
- the stock type id
- See Also:
-
setType
Sets the stock type id.- Parameters:
type- the stock type id- See Also:
-
getQuantity
Returns the stock quantity.- Returns:
- the stock quantity
-
setQuantity
Sets the stock quantity.- Parameters:
quantity- the stock quantity
-
getMeasureUnit
Returns the measure unit id.- Returns:
- the measure unit id
- See Also:
-
setMeasureUnit
Sets the measure unit id.- Parameters:
measureUnit- the measure unit id- See Also:
-
getLastTransaction
Returns the last transaction id.- Returns:
- the last transaction id
- See Also:
-
setLastTransaction
Sets the last transaction id.- Parameters:
lastTransaction- the last transaction id- See Also:
-