Class LocationVO

java.lang.Object
org.springframework.hateoas.RepresentationModel<T>
org.ameba.http.AbstractBase<LocationVO>
org.openwms.wms.location.api.LocationVO
All Implemented Interfaces:
Serializable, org.openwms.common.location.api.TargetVO

public class LocationVO extends org.ameba.http.AbstractBase<LocationVO> implements org.openwms.common.location.api.TargetVO, Serializable
A LocationVO.
Author:
Heiko Scherrer
See Also:
  • Field Details

    • pKey

      private String pKey
      The persistent technical key.
    • locationId

      private String locationId
      Unique natural key.
    • locationGroupName

      private String locationGroupName
      Unique identifier of a LocationGroup.
    • incomingActive

      private Boolean incomingActive
      Signals the incoming state of this Location.
    • outgoingActive

      private Boolean outgoingActive
      Signals the outgoing state of this Location.
    • mixedProducts

      private Boolean mixedProducts
      Whether it is allowed to store different Products on this Location.
    • directBookingAllowed

      private Boolean directBookingAllowed
      Whether it is allowed to move Products without TransportUnit to this Location directly.
    • plcState

      private Integer plcState
      The PLC is able to change the state of a Location. This property stores the last state, received from the PLC.
    • erpCode

      private String erpCode
      ERP code of the Location.
    • description

      private String description
      Description of the Location.
    • sortOrder

      private Integer sortOrder
      Sort order index used by Putaway strategies.
    • noMaxTransportUnits

      private Integer noMaxTransportUnits
      Maximum number of TransportUnits allowed on this Location.
    • lastPickingDate

      private ZonedDateTime lastPickingDate
      When picking happened the last time on this Location.
    • lastInventoryDate

      private ZonedDateTime lastInventoryDate
      When was this Location the last time under stock-taking.
  • Constructor Details

    • LocationVO

      public LocationVO()
    • LocationVO

      public LocationVO(String locationId)
  • Method Details

    • of

      public static LocationVO of(String locationId)
    • isInfeedBlocked

      public Boolean isInfeedBlocked()
      Checks whether the Location is blocked for incoming goods.
      Returns:
      true if blocked, otherwise false
    • isOutfeedBlocked

      public Boolean isOutfeedBlocked()
      Checks whether the Location is blocked for outgoing goods.
      Returns:
      true if blocked, otherwise false
    • isMixingProductsAllowed

      public boolean isMixingProductsAllowed()
      Is it allowed to have different Products on the Location.
      Returns:
      true if allowed
    • hasNoMaxTransportUnits

      public boolean hasNoMaxTransportUnits()
    • hasErpCode

      public boolean hasErpCode()
    • hasLocationId

      public boolean hasLocationId()
    • getpKey

      public String getpKey()
      Specified by:
      getpKey in interface org.openwms.common.location.api.TargetVO
    • setpKey

      public void setpKey(String pKey)
    • getLocationId

      public String getLocationId()
    • getLocationGroupName

      public String getLocationGroupName()
    • getIncomingActive

      public Boolean getIncomingActive()
    • getOutgoingActive

      public Boolean getOutgoingActive()
    • getMixedProducts

      public Boolean getMixedProducts()
    • setMixedProducts

      public void setMixedProducts(Boolean mixedProducts)
    • getDirectBookingAllowed

      public Boolean getDirectBookingAllowed()
    • setDirectBookingAllowed

      public void setDirectBookingAllowed(Boolean directBookingAllowed)
    • getPlcState

      public Integer getPlcState()
    • getErpCode

      public String getErpCode()
    • setErpCode

      public void setErpCode(String erpCode)
    • getDescription

      public String getDescription()
    • getSortOrder

      public Integer getSortOrder()
    • setSortOrder

      public void setSortOrder(Integer sortOrder)
    • getNoMaxTransportUnits

      public Integer getNoMaxTransportUnits()
    • setNoMaxTransportUnits

      public void setNoMaxTransportUnits(Integer noMaxTransportUnits)
    • getLastPickingDate

      public ZonedDateTime getLastPickingDate()
    • setLastPickingDate

      public void setLastPickingDate(ZonedDateTime lastPickingDate)
    • getLastInventoryDate

      public ZonedDateTime getLastInventoryDate()
    • setLastInventoryDate

      public void setLastInventoryDate(ZonedDateTime lastInventoryDate)
    • asString

      public String asString()
      Specified by:
      asString in interface org.openwms.common.location.api.TargetVO
    • toString

      public String toString()
      All fields.
      Overrides:
      toString in class org.springframework.hateoas.RepresentationModel<LocationVO>
    • equals

      public boolean equals(Object o)
      All fields.
      Overrides:
      equals in class org.springframework.hateoas.RepresentationModel<LocationVO>
    • hashCode

      public int hashCode()
      All fields.
      Overrides:
      hashCode in class org.springframework.hateoas.RepresentationModel<LocationVO>