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.HttpStatusReturns the HTTP statusvoidsetMessage(String message) Sets the error messagevoidsetOrderId(String orderId) Sets the order idvoidsetStatus(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
-