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

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

    • BOWarehouse

      public BOWarehouse()
  • Method Details

    • getId

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

      public void setId(Long id)
      Sets the warehouse id.
      Parameters:
      id - the warehouse id
    • getInsertUser

      public Long getInsertUser()
      Returns the warehouse insert user id.
      Returns:
      the insert user id
      See Also:
    • setInsertUser

      public void setInsertUser(Long insertUser)
      Sets the warehouse insert user id.
      Parameters:
      insertUser - the insert user id
      See Also:
    • getInsertDate

      public Date getInsertDate()
      Returns the warehouse insert date.
      Returns:
      the warehouse insert date
    • setInsertDate

      public void setInsertDate(Date insertDate)
      Sets the warehouse insert date.
      Parameters:
      insertDate - the warehouse insert date
    • getUpdateUser

      public Long getUpdateUser()
      Returns the warehouse update user id.
      Returns:
      the update user id
      See Also:
    • setUpdateUser

      public void setUpdateUser(Long updateUser)
      Sets the warehouse update user id.
      Parameters:
      updateUser - the update user id
      See Also:
    • getUpdateDate

      public Date getUpdateDate()
      Returns the warehouse update date.
      Returns:
      the warehouse update date
    • setUpdateDate

      public void setUpdateDate(Date updateDate)
      Sets the warehouse update date.
      Parameters:
      updateDate - the warehouse update date
    • getType

      public Long getType()
      Returns the warehouse type id.
      Returns:
      the type id
      See Also:
    • setType

      public void setType(Long type)
      Sets the warehouse type id.
      Parameters:
      type - the type id
      See Also:
    • getState

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

      public void setState(Long state)
      Sets the warehouse state id.
      Parameters:
      state - the state id
      See Also:
    • getCode

      public String getCode()
      Returns the warehouse code.
      Returns:
      the warehouse code
    • setCode

      public void setCode(String code)
      Sets the warehouse code.
      Parameters:
      code - the warehouse code
    • getDescription

      public LocalizedString getDescription()
      Returns the warehouse description.
      Returns:
      the warehouse description
    • setDescription

      public void setDescription(LocalizedString description)
      Sets the warehouse description.
      Parameters:
      description - the warehouse description
    • getTrackingMode

      public Long getTrackingMode()
      Returns the tracking mode id.
      Returns:
      the tracking mode id
      See Also:
    • setTrackingMode

      public void setTrackingMode(Long trackingMode)
      Sets the tracking mode id.
      Parameters:
      trackingMode - the tracking mode id
      See Also:
    • getPosition

      public WarehousePosition getPosition()
      Returns the warehouse position.
      Returns:
      the warehouse position
    • setPosition

      public void setPosition(WarehousePosition position)
      Sets the warehouse position.
      Parameters:
      position - the warehouse position
    • isCentral

      public boolean isCentral()
      Checks if the warehouse is a warehouse of BOWarehouseType.Values.CENTRAL
      Returns:
      true if is the warehouse is central, false otherwise
    • isMobile

      public boolean isMobile()
      Checks if the warehouse is a warehouse of BOWarehouseType.Values.MOBILE
      Returns:
      true if is the warehouse is mobile, false otherwise