Class WarehouseOperationCreationMaterial
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.inventory.bl.warehouse.operation.event.WarehouseOperationCreationMaterial
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Input object for materials in
WarehouseOperationCreationManualInput.- Since:
- 14.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocall.model.DynO
DynO.SpanFields, DynO.SpanTable, DynO.Valid -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new warehouse operation creation material. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddQuantity(Double quantity) Adds the given quantity.voidaddSerializedMaterials(Long serializedMaterial) Adds the given serialized material id.Returns the material id.Returns the measure unit id.Returns the material quantity.Returns the set of serialized material ids.Returns the stock type id.voidsetMaterial(Long material) Sets the material id.voidsetMeasureUnit(Long measureUnit) Sets the measure unit id.voidsetQuantity(Double quantity) Sets the material quantity.voidsetSerializedMaterials(Set<Long> serializedMaterials) Sets set of serialized material ids.voidsetStockType(Long stockType) Sets the stock 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
-
WarehouseOperationCreationMaterial
public WarehouseOperationCreationMaterial()Instantiates a new warehouse operation creation material.
-
-
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:
-
getStockType
Returns the stock type id.- Returns:
- the stock type id.
- See Also:
-
setStockType
Sets the stock type id.- Parameters:
stockType- the stock type id- See Also:
-
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:
-
getQuantity
Returns the material quantity.- Returns:
- the material quantity
-
setQuantity
Sets the material quantity.- Parameters:
quantity- the material quantity
-
addQuantity
Adds the given quantity.- Parameters:
quantity- the quantity to add
-
getSerializedMaterials
Returns the set of serialized material ids.- Returns:
- the serialized material ids
- See Also:
-
setSerializedMaterials
Sets set of serialized material ids.- Parameters:
serializedMaterials- the serialized material ids- See Also:
-
addSerializedMaterials
Adds the given serialized material id.- Parameters:
serializedMaterial- the serialized material to add
-