Class Localizer.Message

java.lang.Object
org.apache.openjpa.lib.util.Localizer.Message
Enclosing class:
Localizer

public static class Localizer.Message extends Object
A Message can provide a localized message via the getMessage() method call, and can also provide the original key, package, and substitution array that were used to assemble the message.
  • Method Details

    • getMessage

      public String getMessage()
      The localized message.
    • getKey

      public String getKey()
      The unique key for the localized message.
    • getSubstitutions

      public Object[] getSubstitutions()
      Substitutions inserted into the message.
    • getPackageName

      public String getPackageName()
    • toString

      public String toString()
      Overrides:
      toString in class Object