Package org.openwms.wms.movements
Class Message
java.lang.Object
org.openwms.wms.movements.Message
- All Implemented Interfaces:
Serializable
A Message is used to encapsulate a message text with an identifier.
- Author:
- Heiko Scherrer
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Message
builder static inner class. -
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
Message()
Dear JPA...private
Message
(Message.Builder builder) -
Method Summary
-
Field Details
-
occurred
Timestamp when the Message has occurred. -
messageNo
Message number of the Message. -
messageText
Message text of the Message. -
DEF_MESSAGE_LENGTH
public static final int DEF_MESSAGE_LENGTHDefault length ofmessage
.- See Also:
-
-
Constructor Details
-
Message
protected Message()Dear JPA... -
Message
-
-
Method Details
-
getOccurred
Return the Date when the Message has occurred.- Returns:
- Date when occurred.
-
getMessageNo
Get the messageNo.- Returns:
- The messageNo.
-
getMessageText
Get the message.- Returns:
- The message.
-
equals
Use all fields. -
toString
Use all fields. -
hashCode
public int hashCode()Use all fields.
-