Class BOWarehouseOperationItem

java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.inventory.bl.warehouse.operation.item.BOWarehouseOperationItem
All Implemented Interfaces:
ConstraintValidator<DynO.Valid,DynO>, Serializable, overit.geocall.timezone.model.TimeZoned

public class BOWarehouseOperationItem extends DynO
Business object representing a warehouse operation item with its main characteristics.
Since:
14.0
See Also:
GCApi:
bo
  • Constructor Details

    • BOWarehouseOperationItem

      public BOWarehouseOperationItem()
  • Method Details

    • getId

      public Long getId()
      Returns the warehouse operation item id.
      Returns:
      the the warehouse operation item id
    • setId

      public void setId(Long id)
      Sets the warehouse operation item id.
      Parameters:
      id - the warehouse operation item id
    • getHeader

      public Long getHeader()
      Returns the warehouse operation header id.
      Returns:
      the warehouse operation header id
      See Also:
    • setHeader

      public void setHeader(Long header)
      Sets the warehouse operation header id.
      Parameters:
      header - the warehouse operation header id
      See Also:
    • getState

      public Long getState()
      Returns the warehouse operation item state id.
      Returns:
      the warehouse operation item state id
      See Also:
    • setState

      public void setState(Long state)
      Sets the warehouse operation item state id.
      Parameters:
      state - the warehouse operation item state id
      See Also:
    • 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:
    • getOutgoingStockType

      public Long getOutgoingStockType()
      Returns the outgoing stock type id.
      Returns:
      the outgoing stock type id
      See Also:
    • setOutgoingStockType

      public void setOutgoingStockType(Long outgoingStockType)
      Sets the outgoing stock type id.
      Parameters:
      outgoingStockType - the outgoing stock type id
      See Also:
    • getIncomingStockType

      public Long getIncomingStockType()
      Returns the incoming stock type id.
      Returns:
      the incoming stock type id
      See Also:
    • setIncomingStockType

      public void setIncomingStockType(Long incomingStockType)
      Sets the incoming stock type id.
      Parameters:
      incomingStockType - the incoming 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:
    • getExpectedQuantity

      public Double getExpectedQuantity()
      Returns the material expected quantity.
      Returns:
      the material expected quantity
    • setExpectedQuantity

      public void setExpectedQuantity(Double expectedQuantity)
      Sets the material expected quantity.
      Parameters:
      expectedQuantity - the material expected quantity
    • getCreationUser

      public Long getCreationUser()
      Returns the creation user id.
      Returns:
      the creation user id
      See Also:
    • setCreationUser

      public void setCreationUser(Long creationUser)
      Sets the creation user id.
      Parameters:
      creationUser - the creation user id
      See Also:
    • getCreationDate

      public Date getCreationDate()
      Returns the warehouse operation item creation date.
      Returns:
      the warehouse operation item creation date
    • setCreationDate

      public void setCreationDate(Date creationDate)
      Sets the warehouse operation item creation date.
      Parameters:
      creationDate - the warehouse operation item creation date
    • getOutgoingQuantity

      public Double getOutgoingQuantity()
      Returns the material outgoing quantity.
      Returns:
      the material outgoing quantity
    • setOutgoingQuantity

      public void setOutgoingQuantity(Double outgoingQuantity)
      Sets the material outgoing quantity.
      Parameters:
      outgoingQuantity - the material outgoing quantity
    • getSendingUser

      public Long getSendingUser()
      Returns the sending user id.
      Returns:
      the sending user id
      See Also:
    • setSendingUser

      public void setSendingUser(Long sendingUser)
      Sets the sending user id.
      Parameters:
      sendingUser - the sending user id
      See Also:
    • getSendingDate

      public Date getSendingDate()
      Returns the warehouse operation item sending date.
      Returns:
      the warehouse operation item sending date
    • setSendingDate

      public void setSendingDate(Date sendingDate)
      Sets the warehouse operation item sending date.
      Parameters:
      sendingDate - the warehouse operation item sending date
    • getIncomingQuantity

      public Double getIncomingQuantity()
      Returns the material incoming quantity.
      Returns:
      the material incoming quantity
    • setIncomingQuantity

      public void setIncomingQuantity(Double incomingQuantity)
      Sets the material incoming quantity.
      Parameters:
      incomingQuantity - the material incoming quantity
    • getReceivingUser

      public Long getReceivingUser()
      Returns the receiving user id.
      Returns:
      the receiving user id
      See Also:
    • setReceivingUser

      public void setReceivingUser(Long receivingUser)
      Sets the receiving user id.
      Parameters:
      receivingUser - the receiving user id
      See Also:
    • getReceivingDate

      public Date getReceivingDate()
      Returns the warehouse operation item receiving date.
      Returns:
      the warehouse operation item receiving date
    • setReceivingDate

      public void setReceivingDate(Date receivingDate)
      Sets the warehouse operation item receiving date.
      Parameters:
      receivingDate - the warehouse operation item receiving date
    • isInserted

      public boolean isInserted()
      Checks if the warehouse operation item is inserted.
      Returns:
      true if is the warehouse operation item is inserted, false otherwise
    • isSent

      public boolean isSent()
      Checks if the warehouse operation item is sent.
      Returns:
      true if is the warehouse operation item is sent, false otherwise
    • isReceived

      public boolean isReceived()
      Checks if the warehouse operation item is received.
      Returns:
      true if is the warehouse operation item is received, false otherwise
    • isOnError

      public boolean isOnError()
      Checks if the warehouse operation item is on error.
      Returns:
      true if is the warehouse operation item is on error, false otherwise
    • isFinalState

      public boolean isFinalState(BOWarehouseOperationType type)
      Checks if the warehouse operation item state is final.
      Parameters:
      type - the type
      Returns:
      true if is the warehouse operation item state is final, false otherwise
    • getErrorCode

      public String getErrorCode()
      Returns the warehouse operation item error code.
      Returns:
      the warehouse operation item error code
    • setErrorCode

      public void setErrorCode(String errorCode)
      Sets the warehouse operation item error code.
      Parameters:
      errorCode - the warehouse operation item error code
    • getErrorDescription

      public String getErrorDescription()
      Returns the warehouse operation item error description.
      Returns:
      the warehouse operation item error description
    • setErrorDescription

      public void setErrorDescription(String errorDescription)
      Sets the warehouse operation item error description.
      Parameters:
      errorDescription - the warehouse operation item error description