Package org.openwms.common.comm.osip.upd
Class UpdateMessage
java.lang.Object
org.openwms.common.comm.osip.Payload
org.openwms.common.comm.osip.upd.UpdateMessage
- All Implemented Interfaces:
Serializable
A UpdateMessage reflects the OSIP UPD telegram type and is used to change the state of
a
LocationGroup.- Author:
- Heiko Scherrer
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classUpdateMessagebuilder static inner class. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate Stringstatic final StringMessage identifier "UPD_" .Fields 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.(package private) String(package private) StringSubclasses have to return an unique, case-sensitive message identifier.inthashCode()Use all fields.booleanDoes this type of message needs to be replied to?(package private) voidsetActualLocation(String actualLocation) (package private) voidsetBarcode(String barcode) 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 "UPD_" .- See Also:
-
barcode
-
actualLocation
-
-
Constructor Details
-
UpdateMessage
-
-
Method Details
-
getBarcode
String getBarcode() -
setBarcode
-
getActualLocation
String getActualLocation() -
setActualLocation
-
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
-
toString
Use all fields. Include all fields. -
equals
Use all fields. Include all fields. -
hashCode
public int hashCode()Use all fields. Include all fields.
-