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

public class WarehouseOperationCreationMaterial extends DynO
Input object for materials in WarehouseOperationCreationManualInput.
Since:
14.0
See Also:
  • Constructor Details

    • WarehouseOperationCreationMaterial

      public WarehouseOperationCreationMaterial()
      Instantiates a new warehouse operation creation material.
  • Method Details

    • getMaterial

      public Long getMaterial()
      Returns the material id.
      Returns:
      the material id
      See Also:
    • setMaterial

      public void setMaterial(Long material)
      Sets the material id.
      Parameters:
      material - the material id
      See Also:
    • getStockType

      public Long getStockType()
      Returns the stock type id.
      Returns:
      the stock type id.
      See Also:
    • setStockType

      public void setStockType(Long stockType)
      Sets the stock type id.
      Parameters:
      stockType - the stock type id
      See Also:
    • getMeasureUnit

      public Long getMeasureUnit()
      Returns the measure unit id.
      Returns:
      the measure unit id
      See Also:
    • setMeasureUnit

      public void setMeasureUnit(Long measureUnit)
      Sets the measure unit id.
      Parameters:
      measureUnit - the measure unit id
      See Also:
    • getQuantity

      public Double getQuantity()
      Returns the material quantity.
      Returns:
      the material quantity
    • setQuantity

      public void setQuantity(Double quantity)
      Sets the material quantity.
      Parameters:
      quantity - the material quantity
    • addQuantity

      public void addQuantity(Double quantity)
      Adds the given quantity.
      Parameters:
      quantity - the quantity to add
    • getSerializedMaterials

      public Set<Long> getSerializedMaterials()
      Returns the set of serialized material ids.
      Returns:
      the serialized material ids
      See Also:
    • setSerializedMaterials

      public void setSerializedMaterials(Set<Long> serializedMaterials)
      Sets set of serialized material ids.
      Parameters:
      serializedMaterials - the serialized material ids
      See Also:
    • addSerializedMaterials

      public void addSerializedMaterials(Long serializedMaterial)
      Adds the given serialized material id.
      Parameters:
      serializedMaterial - the serialized material to add