Class Message.Builder

java.lang.Object
org.openwms.tms.Message.Builder
Enclosing class:
Message

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

  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • occurred

      public Message.Builder occurred(LocalDateTime 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
    • messageNo

      public Message.Builder messageNo(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
    • messageText

      public Message.Builder messageText(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
    • pKey

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

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