Package de.dlr.proseo.ui.gui
Klasse OrderInfo
java.lang.Object
de.dlr.proseo.ui.gui.OrderInfo
A collector for information on orders, namely order status, order id, and an error message
- Autor:
- Ernst Melchinger
-
Feldübersicht
Felder -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns the error messageReturns the order idorg.springframework.http.HttpStatus
Returns the HTTP statusvoid
setMessage
(String message) Sets the error messagevoid
setOrderId
(String orderId) Sets the order idvoid
setStatus
(org.springframework.http.HttpStatus status) Sets the order's status
-
Felddetails
-
Konstruktordetails
-
OrderInfo
A constructor which sets the order's status, id and error message- Parameter:
status
- the order status to setorderId
- the order id to setmessage
- the error message to set
-
-
Methodendetails
-
getStatus
public org.springframework.http.HttpStatus getStatus()Returns the HTTP status- Gibt zurück:
- the HTTP status
-
getMessage
Returns the error message- Gibt zurück:
- the error message
-
getOrderId
Returns the order id- Gibt zurück:
- the orderId
-
setOrderId
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
Sets the error message- Parameter:
message
- the message to set
-