Class BOWarehouseMaterialAvailability
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.inventory.bl.warehouse.material.availability.BOWarehouseMaterialAvailability
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Business object representing a warehouse material availability.
- Since:
- 14.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 TypeMethodDescriptionReturns the code of the warehouse.Returns the warehouse material availability detection date.Returns the warehouse material availability distance.Returns the estimated time of arrival.Returns the warehouse material availability latitude.Returns the warehouse material availability longitude.Returns the material id.Returns the measure unit id.Returns the material quantity.Returns the resource id.getStock()Returns the stock id.Returns the warehouse id.Returns the warehouse type id.booleanChecks if the warehouse is the preferred one.voidsetCodeWarehouse(String codeWarehouse) Sets the warehouse code.voidsetDetectionDate(Date detectionDate) Sets the warehouse material availability detection date.voidsetDistance(Double distance) Sets the warehouse material availability distance.voidsetEstimatedTimeOfArrival(Date estimatedTimeOfArrival) Sets the estimated time of arrival.voidsetLatitude(Double latitude) Sets the warehouse material availability latitude.voidsetLongitude(Double longitude) Sets the warehouse material availability longitude.voidsetMaterial(Long material) Sets the material id.voidsetMeasureUnit(Long measureUnit) Sets the measure unit id.voidsetPreferred(boolean preferred) Sets the warehouse to preferred.voidsetQuantity(Double quantity) Sets the material quantity.voidsetResource(Long resource) Sets the resource id.voidSets the stock id.voidsetWarehouse(Long warehouse) Sets the warehouse id.voidsetWarehouseType(Long warehouseType) Sets the warehouse type 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
-
BOWarehouseMaterialAvailability
public BOWarehouseMaterialAvailability()
-
-
Method Details
-
getMaterial
Returns the material id.- Returns:
- the material id
- See Also:
-
setMaterial
Sets the material id.- Parameters:
material- the material id- See Also:
-
getStock
Returns the stock id.- Returns:
- the stock id
- See Also:
-
setStock
Sets the stock id.- Parameters:
stock- the stock id- See Also:
-
getWarehouse
Returns the warehouse id.- Returns:
- the warehouse id
- See Also:
-
setWarehouse
Sets the warehouse id.- Parameters:
warehouse- the warehouse id- See Also:
-
getWarehouseType
Returns the warehouse type id.- Returns:
- the warehouse type id
- See Also:
-
setWarehouseType
Sets the warehouse type id.- Parameters:
warehouseType- the warehouse type id- See Also:
-
isPreferred
public boolean isPreferred()Checks if the warehouse is the preferred one.- Returns:
- true if is the warehouse is preferred one, false otherwise
-
setPreferred
public void setPreferred(boolean preferred) Sets the warehouse to preferred.- Parameters:
preferred- true if the warehouse must be the preferred one, false otherwise
-
getResource
Returns the resource id.- Returns:
- the resource id
- See Also:
-
setResource
Sets the resource id.- Parameters:
resource- the resource id- See Also:
-
getDistance
Returns the warehouse material availability distance.- Returns:
- the warehouse material availability distance
-
setDistance
Sets the warehouse material availability distance.- Parameters:
distance- the warehouse material availability distance
-
getQuantity
Returns the material quantity.- Returns:
- the material quantity
-
setQuantity
Sets the material quantity.- Parameters:
quantity- the material 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:
-
getLongitude
Returns the warehouse material availability longitude.- Returns:
- the warehouse material availability longitude
-
setLongitude
Sets the warehouse material availability longitude.- Parameters:
longitude- the warehouse material availability longitude
-
getLatitude
Returns the warehouse material availability latitude.- Returns:
- the warehouse material availability latitude
-
setLatitude
Sets the warehouse material availability latitude.- Parameters:
latitude- the warehouse material availability latitude
-
getDetectionDate
Returns the warehouse material availability detection date.- Returns:
- the warehouse material availability detection date
-
setDetectionDate
Sets the warehouse material availability detection date.- Parameters:
detectionDate- the warehouse material availability detection date
-
getCodeWarehouse
Returns the code of the warehouse.- Returns:
- the warehouse code
-
setCodeWarehouse
Sets the warehouse code.- Parameters:
codeWarehouse- the warehouse code
-
getEstimatedTimeOfArrival
Returns the estimated time of arrival.- Returns:
- the estimated time of arrival
-
setEstimatedTimeOfArrival
Sets the estimated time of arrival.- Parameters:
estimatedTimeOfArrival- the estimated time of arrival
-