Class BOCentralMobileWarehouse

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

public class BOCentralMobileWarehouse extends DynO
Business object representing the relation between a BOCentralWarehouse and an BOMobileWarehouse. A BOMobileWarehouse can be related to more BOCentralWarehouses, but every BOCentralMobileWarehouse represents a single relation.
In this context, the relation can also specify the preferred BOCentralWarehouse the current BOMobileWarehouse.
Since:
13.0
See Also:
GCApi:
bo
  • Constructor Details

    • BOCentralMobileWarehouse

      public BOCentralMobileWarehouse()
  • Method Details

    • getId

      public Long getId()
      Returns the relation id.
      Returns:
      the central-mobile warehouse relation id
    • setId

      public void setId(Long id)
      Sets the relation id.
      Parameters:
      id - the central-mobile warehouse relation id
    • getCentral

      public Long getCentral()
      Returns the central warehouse id.
      Returns:
      the central warehouse id
      See Also:
    • setCentral

      public void setCentral(Long central)
      Sets the central warehouse id.
      Parameters:
      central - the central warehouse id
      See Also:
    • getMobile

      public Long getMobile()
      Returns the mobile warehouse id.
      Returns:
      the mobile warehouse id
      See Also:
    • setMobile

      public void setMobile(Long mobile)
      Sets the mobile warehouse id.
      Parameters:
      mobile - the mobile warehouse id
      See Also:
    • isPreferred

      public Boolean isPreferred()
      Checks if the current central warehouse of the relation is the preferred one.
      Returns:
      true if is the current central warehouse is the preferred one, false otherwise
    • setPreferred

      public void setPreferred(Boolean preferred)
      Sets the current central warehouse of the relation to preferred.
      Parameters:
      preferred - true if the current central warehouse must be the preferred one, false otherwise