Package org.openwms.common.comm.osip.err
Class ErrorMessage
java.lang.Object
org.openwms.common.comm.osip.Payload
org.openwms.common.comm.osip.err.ErrorMessage
- All Implemented Interfaces:
Serializable
An ErrorMessage signals any error or failure situation from or to an external system.
- Author:
- Heiko Scherrer
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class org.openwms.common.comm.osip.Payload
DATE_LENGTH, ERROR_CODE_LENGTH, MESSAGE_IDENTIFIER_LENGTH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Use all fields.Subclasses have to return an unique, case-sensitive message identifier.int
hashCode()
Use all fields.boolean
Does this type of message needs to be replied to?static ErrorMessage.Builder
void
setLocationGroupName
(String locationGroupName) 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 "ERR_" .- See Also:
-
locationGroupName
-
-
Constructor Details
-
ErrorMessage
public ErrorMessage() -
ErrorMessage
-
-
Method Details
-
newBuilder
-
getLocationGroupName
-
setLocationGroupName
-
getMessageIdentifier
Subclasses have to return an unique, case-sensitive message identifier.- Specified by:
getMessageIdentifier
in 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:
isWithoutReply
in 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.
-