Interface Reportable

All Known Subinterfaces:
ItemObjectLocator, ObjectLocator, PropertyObjectLocator, RootObjectLocator
All Known Implementing Classes:
AbstractObjectLocator, DefaultItemObjectLocator, DefaultPropertyObjectLocator, DefaultRootObjectLocator

public interface Reportable
Reportable object.
Author:
Aleksei Valikov
  • Method Details

    • getMessageCode

      String getMessageCode()
      Returns message code. This code will be used to locate message resource.
      Returns:
      String code that uniquely identifies this problem. May be used to reference messages.
    • getMessageParameters

      Object[] getMessageParameters()
      Returns parameters used to format the message.
      Returns:
      Array of parameters used to format problem message.
    • getMessage

      String getMessage(ResourceBundle bundle)
      Formats the message using given resource bundle.
      Parameters:
      bundle - bundle to use resources from.
      Returns:
      Formatted message.
    • getMessage

      String getMessage()
      Returns the message.
      Returns:
      The message.