Klasse OrderInfo

java.lang.Object
de.dlr.proseo.ui.gui.OrderInfo

public class OrderInfo extends Object
A collector for information on orders, namely order status, order id, and an error message
Autor:
Ernst Melchinger
  • Felddetails

    • status

      org.springframework.http.HttpStatus status
      The status of request
    • orderId

      String orderId
      The order id
    • message

      String message
      An error message
  • Konstruktordetails

    • OrderInfo

      public OrderInfo(org.springframework.http.HttpStatus status, String orderId, String message)
      A constructor which sets the order's status, id and error message
      Parameter:
      status - the order status to set
      orderId - the order id to set
      message - the error message to set
  • Methodendetails

    • getStatus

      public org.springframework.http.HttpStatus getStatus()
      Returns the HTTP status
      Gibt zurück:
      the HTTP status
    • getMessage

      public String getMessage()
      Returns the error message
      Gibt zurück:
      the error message
    • getOrderId

      public String getOrderId()
      Returns the order id
      Gibt zurück:
      the orderId
    • setOrderId

      public void setOrderId(String orderId)
      Sets the order id
      Parameter:
      orderId - the orderId to set
    • setStatus

      public void setStatus(org.springframework.http.HttpStatus status)
      Sets the order's status
      Parameter:
      status - the status to set
    • setMessage

      public void setMessage(String message)
      Sets the error message
      Parameter:
      message - the message to set