Class AbstractResponseItemDTO

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

public class AbstractResponseItemDTO extends Object
Abstract DTO superclass for item responses, sometimes contained in main responses.
  • Field Details

    • INVALID_DATA_ERROR

      public static final String INVALID_DATA_ERROR
      Possible messageIdentCode: "INVALID_DATA_ERROR": One of the ident codes sent was not recognized by the engine, e.g. an service category was used which was not customized.
      See Also:
    • EMPTY_MANDATORY_FIELD

      public static final String EMPTY_MANDATORY_FIELD
      Possible messageIdentCode: "EMPTY_MANDATORY_FIELD": One ore more of the mandatory fields are empty.
      See Also:
    • LOCK_WARNING

      public static final String LOCK_WARNING
      Possible messageIdentCode: "LOCK_WARNING": An object necessary for processing the request could not be locked. The processing of the item was skipped, but that is considered as a warning rather than an error. The request should be repeated for the item after a short time.
      See Also:
    • hasErrors

      public Boolean hasErrors
      True, if there are any error messages. If an error has occured the messages contain more details about the errors.
    • hasWarnings

      public Boolean hasWarnings
      True, if there are any warning messages.
    • messages

      public ResponseMessageDTO[] messages
      Messages for the whole request, e.g. for errors or warnings.
  • Constructor Details

    • AbstractResponseItemDTO

      public AbstractResponseItemDTO()