Class ResponseMessageDTO

java.lang.Object
de.aeb.xnsg.foundation.bf.ResponseMessageDTO

public class ResponseMessageDTO extends Object

Result messages like errors or warnings.

  • Field Details

    • MESSAGETYPE_ERROR

      public static final String MESSAGETYPE_ERROR
      Possible messageType: "ERROR": One of the possible message types which is returned if an error has occured
      See Also:
    • MESSAGETYPE_WARNING

      public static final String MESSAGETYPE_WARNING
      Possible messageType: "WARNING": One of the possible message types which is returned if an warning has occured
      See Also:
    • MESSAGETYPE_INFO

      public static final String MESSAGETYPE_INFO
      Possible messageType: "INFO": One of the possible message types which is used for simple information responses
      See Also:
    • messageType

      public String messageType

      Message type

      If not stated otherwise, the possible types are:

      • ERROR
      • WARNING
      • INFO

      Maximum length: 50

    • messageIdentCode

      public String messageIdentCode

      Optional identification code for further classification of the message type.

      Maximum length: 50

    • messageTexts

      public TextInLanguageDTO[] messageTexts

      Detailed message texts in the requested languages.

    • indentationLevel

      public Integer indentationLevel

      The indentation level of the message.

      '0' indicates a top level message.

  • Constructor Details

    • ResponseMessageDTO

      public ResponseMessageDTO()
    • ResponseMessageDTO

      public ResponseMessageDTO(String messageType, String messageIdentCode, Integer indentationLevel)
  • Method Details