Package org.openwms.common.comm.osip.req
Class RequestMessage
java.lang.Object
org.openwms.common.comm.osip.Payload
org.openwms.common.comm.osip.req.RequestMessage
- All Implemented Interfaces:
Serializable
A RequestMessage requests an order for a TransportUnit with id Barcode on a particular location actualLocation.
- Author:
- Heiko Scherrer
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate Stringstatic final StringMessage identifier "REQ_" .private 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) 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 "REQ_" .- See Also:
-
barcode
-
actualLocation
-
targetLocation
-
-
Constructor Details
-
RequestMessage
public RequestMessage()
-
-
Method Details
-
getBarcode
-
setBarcode
-
getActualLocation
-
setActualLocation
-
getTargetLocation
-
setTargetLocation
-
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.
-