Class GenericResponse

    • Constructor Detail

      • GenericResponse

        public GenericResponse()
        Constructor used by JAXB
      • GenericResponse

        public GenericResponse​(Message message,
                               ResponseInfo responseInfo)
        Creates a GenericResponse with the provided single message and ResponseInfo.
        Parameters:
        message - The message that should be displayed to the user
        response - ResponseInfo with the status of the response
    • Method Detail

      • getMessages

        public List<Message> getMessages()
        Messages contained in the response (which should be shown to the user)
        Returns:
        list of messages
      • addMessage

        public void addMessage​(Message message)
      • setMessages

        public void setMessages​(List<Message> messages)
      • setResponseInfo

        public void setResponseInfo​(ResponseInfo responseInfo)