Package org.openwms.common.comm.osip.res
Class ResponseMessage
java.lang.Object
org.openwms.common.comm.osip.Payload
org.openwms.common.comm.osip.res.ResponseMessage
- All Implemented Interfaces:
 Serializable
A OSIP ResponseMessage responds to an processed 
RequestMessage.
 See https://interface21-io.gitbook.io/osip/messaging-between-layer-n-and-layer-n-1#response-telegram-res_- Author:
 - Heiko Scherrer
 - See Also:
 
- 
Nested Class Summary
Nested Classes - 
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate Stringstatic final StringMessage identifier "RES_" .private Stringprivate StringFields inherited from class org.openwms.common.comm.osip.Payload
DATE_LENGTH, ERROR_CODE_LENGTH, MESSAGE_IDENTIFIER_LENGTH - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleanUse all fields.Subclasses have to return an unique, case-sensitive message identifier.inthashCode()Use all fields.booleanDoes this type of message needs to be replied to?voidsetActualLocation(String actualLocation) voidsetBarcode(String barcode) voidsetTargetLocation(String targetLocation) voidsetTargetLocationGroup(String targetLocationGroup) toString()Use all fields.Methods inherited from class org.openwms.common.comm.osip.Payload
exists, getCreated, getErrorCode, getHeader, hasErrorCode, setCreated, setErrorCode, setHeader 
- 
Field Details
- 
IDENTIFIER
Message identifier "RES_" .- See Also:
 
 - 
barcode
 - 
actualLocation
 - 
targetLocation
 - 
targetLocationGroup
 
 - 
 - 
Constructor Details
- 
ResponseMessage
public ResponseMessage() 
 - 
 - 
Method Details
- 
getBarcode
 - 
setBarcode
 - 
getActualLocation
 - 
setActualLocation
 - 
getTargetLocation
 - 
setTargetLocation
 - 
getTargetLocationGroup
 - 
setTargetLocationGroup
 - 
getMessageIdentifier
Subclasses have to return an unique, case-sensitive message identifier.- Specified by:
 getMessageIdentifierin classPayload- Returns:
 - The message TYPE field (see OSIP specification)
 
 - 
isWithoutReply
public boolean isWithoutReply()Does this type of message needs to be replied to?- Specified by:
 isWithoutReplyin classPayload- Returns:
 - true no reply needed, otherwise false
 
 - 
equals
Use all fields. Use all fields. - 
hashCode
public int hashCode()Use all fields. Use all fields. - 
toString
Use all fields. Use all fields. 
 -