Class BOCentralWarehouse

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

public class BOCentralWarehouse extends BOWarehouse
Business object representing a central warehouse.
Since:
13.0
See Also:
GCApi:
bo
  • Constructor Details

    • BOCentralWarehouse

      public BOCentralWarehouse()
  • Method Details

    • getExternalCode

      public String getExternalCode()
      Returns the central warehouse external code.
      Returns:
      the central warehouse external code
    • setExternalCode

      public void setExternalCode(String code)
      Sets the central warehouse external code.
      Parameters:
      code - the central warehouse external code
    • getAddress

      public Long getAddress()
      Returns the central warehouse address id.
      Returns:
      the address id
      See Also:
    • setAddress

      public void setAddress(Long address)
      Sets the central warehouse address id.
      Parameters:
      address - the address id
      See Also:
    • isCentral

      public boolean isCentral()
      Checks if the warehouse is a warehouse of BOWarehouseType.Values.CENTRAL
      Overrides:
      isCentral in class BOWarehouse
      Returns:
      true
    • isMobile

      public boolean isMobile()
      Checks if the warehouse is a warehouse of BOWarehouseType.Values.MOBILE
      Overrides:
      isMobile in class BOWarehouse
      Returns:
      false