Class StateChangeResponse
java.lang.Object
org.openwms.tms.api.requests.state.StateChangeResponse
- All Implemented Interfaces:
Serializable
A StateChangeResponse.
- Author:
- Heiko Scherrer
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprivate String
The accepted state the TransportOrder can be switched to.private MessageVO
An optional error message.private StateChangeRequest
The identifying persistent key of the TransportOrder to change. -
Constructor Summary
ConstructorDescriptionStateChangeResponse
(StateChangeRequest request, String acceptedState, MessageVO error) -
Method Summary
Modifier and TypeMethodDescriptiongetError()
boolean
hasError()
boolean
void
setAcceptedState
(String acceptedState) void
void
setRequest
(StateChangeRequest request)
-
Field Details
-
request
The identifying persistent key of the TransportOrder to change. -
acceptedState
The accepted state the TransportOrder can be switched to. -
error
An optional error message.
-
-
Constructor Details
-
StateChangeResponse
@ConstructorProperties({"request","acceptedState","error"}) public StateChangeResponse(StateChangeRequest request, String acceptedState, MessageVO error)
-
-
Method Details
-
getRequest
-
hasRequest
public boolean hasRequest() -
setRequest
-
getAcceptedState
-
setAcceptedState
-
getError
-
hasError
public boolean hasError() -
setError
-