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 StringDescription of theLocation.private BooleanWhether it is allowed to moveProductswithoutTransportUnitto thisLocationdirectly.private StringERP code of theLocation.private BooleanSignals the incoming state of thisLocation.private ZonedDateTimeWhen was thisLocationthe last time under stock-taking.private ZonedDateTimeWhen picking happened the last time on thisLocation.private StringUnique identifier of aLocationGroup.private StringUnique natural key.private BooleanWhether it is allowed to store differentProductson thisLocation.private IntegerMaximum number ofTransportUnits allowed on thisLocation.private BooleanSignals the outgoing state of thisLocation.private StringThe persistent technical key.private IntegerThe PLC is able to change the state of aLocation.private IntegerSort order index used by Putaway strategies. - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionasString()booleanAll fields.getpKey()booleaninthashCode()All fields.booleanbooleanChecks whether the Location is blocked for incoming goods.booleanIs it allowed to have differentProducts on theLocation.Checks whether the Location is blocked for outgoing goods.static LocationVOvoidsetDirectBookingAllowed(Boolean directBookingAllowed) voidsetErpCode(String erpCode) voidsetLastInventoryDate(ZonedDateTime lastInventoryDate) voidsetLastPickingDate(ZonedDateTime lastPickingDate) voidsetMixedProducts(Boolean mixedProducts) voidsetNoMaxTransportUnits(Integer noMaxTransportUnits) voidvoidsetSortOrder(Integer sortOrder) toString()All fields.Methods inherited from class org.ameba.http.AbstractBase
getOl, setOlMethods 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 differentProductson thisLocation. - 
directBookingAllowed
Whether it is allowed to moveProductswithoutTransportUnitto thisLocationdirectly. - 
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 ofTransportUnits allowed on thisLocation. - 
lastPickingDate
When picking happened the last time on thisLocation. - 
lastInventoryDate
When was thisLocationthe 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 differentProducts on theLocation.- Returns:
 - true if allowed
 
 - 
hasNoMaxTransportUnits
public boolean hasNoMaxTransportUnits() - 
hasErpCode
public boolean hasErpCode() - 
hasLocationId
public boolean hasLocationId() - 
getpKey
- Specified by:
 getpKeyin 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:
 asStringin interfaceorg.openwms.common.location.api.TargetVO
 - 
toString
All fields.- Overrides:
 toStringin classorg.springframework.hateoas.RepresentationModel<LocationVO>
 - 
equals
All fields.- Overrides:
 equalsin classorg.springframework.hateoas.RepresentationModel<LocationVO>
 - 
hashCode
public int hashCode()All fields.- Overrides:
 hashCodein classorg.springframework.hateoas.RepresentationModel<LocationVO>
 
 -