Class Message.Builder

java.lang.Object
org.openwms.wms.movements.Message.Builder
Enclosing class:
Message

public static final class Message.Builder extends Object
Message builder static inner class.
  • Field Details Link icon

    • occurred Link icon

      private Date occurred
    • messageNo Link icon

      private String messageNo
    • messageText Link icon

      private String messageText
  • Constructor Details Link icon

    • Builder Link icon

      public Builder()
  • Method Details Link icon

    • withOccurred Link icon

      public Message.Builder withOccurred(Date val)
      Sets the occurred and returns a reference to this Builder so that the methods can be chained together.
      Parameters:
      val - the occurred to set
      Returns:
      a reference to this Builder
    • withMessageNo Link icon

      public Message.Builder withMessageNo(String val)
      Sets the messageNo and returns a reference to this Builder so that the methods can be chained together.
      Parameters:
      val - the messageNo to set
      Returns:
      a reference to this Builder
    • withMessageText Link icon

      public Message.Builder withMessageText(String val)
      Sets the messageText and returns a reference to this Builder so that the methods can be chained together.
      Parameters:
      val - the messageText to set
      Returns:
      a reference to this Builder
    • build Link icon

      public Message build()
      Returns a Message built from the parameters previously set.
      Returns:
      a Message built with parameters of this Message.Builder