Package org.openwms.wms.location.api
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 Summary
FieldsModifier and TypeFieldDescriptionprivate String
Description of theLocation
.private Boolean
Whether it is allowed to moveProducts
withoutTransportUnit
to thisLocation
directly.private String
ERP code of theLocation
.private Boolean
Signals the incoming state of thisLocation
.private ZonedDateTime
When was thisLocation
the last time under stock-taking.private ZonedDateTime
When picking happened the last time on thisLocation
.private String
Unique identifier of aLocationGroup
.private String
Unique natural key.private Boolean
Whether it is allowed to store differentProducts
on thisLocation
.private Integer
Maximum number ofTransportUnit
s allowed on thisLocation
.private Boolean
Signals the outgoing state of thisLocation
.private String
The persistent technical key.private Integer
The PLC is able to change the state of aLocation
.private Integer
Sort order index used by Putaway strategies. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasString()
boolean
All fields.getpKey()
boolean
int
hashCode()
All fields.boolean
boolean
Checks whether the Location is blocked for incoming goods.boolean
Is it allowed to have differentProduct
s on theLocation
.Checks whether the Location is blocked for outgoing goods.static LocationVO
void
setDirectBookingAllowed
(Boolean directBookingAllowed) void
setErpCode
(String erpCode) void
setLastInventoryDate
(ZonedDateTime lastInventoryDate) void
setLastPickingDate
(ZonedDateTime lastPickingDate) void
setMixedProducts
(Boolean mixedProducts) void
setNoMaxTransportUnits
(Integer noMaxTransportUnits) void
void
setSortOrder
(Integer sortOrder) toString()
All fields.Methods inherited from class org.ameba.http.AbstractBase
getOl, setOl
Methods inherited from class org.springframework.hateoas.RepresentationModel
add, add, add, addAllIf, addIf, getLink, getLink, getLinks, getLinks, getLinks, getRequiredLink, getRequiredLink, hasLink, hasLink, hasLinks, mapLink, mapLinkIf, of, of, removeLinks
-
Field Details
-
pKey
The persistent technical key. -
locationId
Unique natural key. -
locationGroupName
Unique identifier of aLocationGroup
. -
incomingActive
Signals the incoming state of thisLocation
. -
outgoingActive
Signals the outgoing state of thisLocation
. -
mixedProducts
Whether it is allowed to store differentProducts
on thisLocation
. -
directBookingAllowed
Whether it is allowed to moveProducts
withoutTransportUnit
to thisLocation
directly. -
plcState
The PLC is able to change the state of aLocation
. This property stores the last state, received from the PLC. -
erpCode
ERP code of theLocation
. -
description
Description of theLocation
. -
sortOrder
Sort order index used by Putaway strategies. -
noMaxTransportUnits
Maximum number ofTransportUnit
s allowed on thisLocation
. -
lastPickingDate
When picking happened the last time on thisLocation
. -
lastInventoryDate
When was thisLocation
the last time under stock-taking.
-
-
Constructor Details
-
LocationVO
public LocationVO() -
LocationVO
-
-
Method Details
-
of
-
isInfeedBlocked
Checks whether the Location is blocked for incoming goods.- Returns:
- true if blocked, otherwise false
-
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 differentProduct
s on theLocation
.- Returns:
- true if allowed
-
hasNoMaxTransportUnits
public boolean hasNoMaxTransportUnits() -
hasErpCode
public boolean hasErpCode() -
hasLocationId
public boolean hasLocationId() -
getpKey
- Specified by:
getpKey
in interfaceorg.openwms.common.location.api.TargetVO
-
setpKey
-
getLocationId
-
getLocationGroupName
-
getIncomingActive
-
getOutgoingActive
-
getMixedProducts
-
setMixedProducts
-
getDirectBookingAllowed
-
setDirectBookingAllowed
-
getPlcState
-
getErpCode
-
setErpCode
-
getDescription
-
getSortOrder
-
setSortOrder
-
getNoMaxTransportUnits
-
setNoMaxTransportUnits
-
getLastPickingDate
-
setLastPickingDate
-
getLastInventoryDate
-
setLastInventoryDate
-
asString
- Specified by:
asString
in interfaceorg.openwms.common.location.api.TargetVO
-
toString
All fields.- Overrides:
toString
in classorg.springframework.hateoas.RepresentationModel<LocationVO>
-
equals
All fields.- Overrides:
equals
in classorg.springframework.hateoas.RepresentationModel<LocationVO>
-
hashCode
public int hashCode()All fields.- Overrides:
hashCode
in classorg.springframework.hateoas.RepresentationModel<LocationVO>
-