Class ResponseMessage

java.lang.Object
org.openwms.common.comm.osip.Payload
org.openwms.common.comm.osip.res.ResponseMessage
All Implemented Interfaces:
Serializable

public class ResponseMessage extends Payload implements 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:
  • Field Details

    • IDENTIFIER

      public static final String IDENTIFIER
      Message identifier "RES_" .
      See Also:
    • barcode

      private String barcode
    • actualLocation

      private String actualLocation
    • targetLocation

      private String targetLocation
    • targetLocationGroup

      private String targetLocationGroup
  • Constructor Details

    • ResponseMessage

      public ResponseMessage()
  • Method Details

    • getBarcode

      public String getBarcode()
    • setBarcode

      public void setBarcode(String barcode)
    • getActualLocation

      public String getActualLocation()
    • setActualLocation

      public void setActualLocation(String actualLocation)
    • getTargetLocation

      public String getTargetLocation()
    • setTargetLocation

      public void setTargetLocation(String targetLocation)
    • getTargetLocationGroup

      public String getTargetLocationGroup()
    • setTargetLocationGroup

      public void setTargetLocationGroup(String targetLocationGroup)
    • getMessageIdentifier

      public String getMessageIdentifier()
      Subclasses have to return an unique, case-sensitive message identifier.
      Specified by:
      getMessageIdentifier in class Payload
      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 class Payload
      Returns:
      true no reply needed, otherwise false
    • equals

      public boolean equals(Object o)
      Use all fields. Use all fields.
      Overrides:
      equals in class Payload
    • hashCode

      public int hashCode()
      Use all fields. Use all fields.
      Overrides:
      hashCode in class Payload
    • toString

      public String toString()
      Use all fields. Use all fields.
      Overrides:
      toString in class Payload