Class BOWarehouseMaterial
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.inventory.bl.warehouse.material.BOWarehouseMaterial
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Business object representing a warehouse material.
- 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 TypeMethodDescriptionChecks if the warehouse material is active.getId()Returns the warehouse material id.Returns the material id.Returns the warehouse material max stock quantity.Returns the measure unit id.Returns the warehouse material min stock quantity.Returns the warehouse id.Checks if the warehouse material was generated by scheduling.voidSets the warehouse material to active.voidsetGeneratedByScheduling(Boolean isGeneratedByScheduling) Sets the warehouse material to generated by scheduling.voidSets the warehouse material id.voidsetMaterial(Long material) Sets the material id.voidsetMaxStockQuantity(Double maxStockQuantity) Sets the warehouse material max stock quantity.voidsetMeasureUnit(Long measureUnit) Sets the measure unit id.voidsetMinStockQuantity(Double minStockQuantity) Sets the warehouse material min stock quantity.voidsetWarehouse(Long warehouse) Sets the warehouse 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
-
BOWarehouseMaterial
public BOWarehouseMaterial()
-
-
Method Details
-
getId
Returns the warehouse material id.- Returns:
- the the warehouse material id
-
setId
Sets the warehouse material id.- Parameters:
id- the warehouse material id
-
getWarehouse
Returns the warehouse id.- Returns:
- the warehouse id
- See Also:
-
setWarehouse
Sets the warehouse id.- Parameters:
warehouse- the warehouse id- See Also:
-
getMaterial
Returns the material id.- Returns:
- the material id
- See Also:
-
setMaterial
Sets the material id.- Parameters:
material- the material id- See Also:
-
getMinStockQuantity
Returns the warehouse material min stock quantity.- Returns:
- the warehouse material min stock quantity
-
setMinStockQuantity
Sets the warehouse material min stock quantity.- Parameters:
minStockQuantity- the warehouse material min stock quantity
-
getMaxStockQuantity
Returns the warehouse material max stock quantity.- Returns:
- the warehouse material max stock quantity
-
setMaxStockQuantity
Sets the warehouse material max stock quantity.- Parameters:
maxStockQuantity- the warehouse material max 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:
-
getActive
Checks if the warehouse material is active.- Returns:
- true if is the warehouse material is active, false otherwise
-
setActive
Sets the warehouse material to active.- Parameters:
active- true if the warehouse material must be active, false otherwise
-
isGeneratedByScheduling
Checks if the warehouse material was generated by scheduling.- Returns:
- true if is the warehouse material was generated by scheduling, false otherwise
-
setGeneratedByScheduling
Sets the warehouse material to generated by scheduling.- Parameters:
isGeneratedByScheduling- true if the warehouse material must be generated by scheduling, false otherwise
-