Annotation Type Message

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      String value  
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String key  
      • ELEMENT_NAME

        static final String ELEMENT_NAME
        Constant value for key() indicating that the annotated element's name should be used as-is.
      • HYPHENATED_ELEMENT_NAME

        static final String HYPHENATED_ELEMENT_NAME
        Constant value for key() indicating that the annotated element's name should be de-camel-cased and hyphenated, and then used.
      • UNDERSCORED_ELEMENT_NAME

        static final String UNDERSCORED_ELEMENT_NAME
        Constant value forkey() indicating that the annotated element's name should be de-camel-cased and parts separated by underscores, and then used.
    • Element Detail

      • value

        String value
        Returns:
        the message template
      • key

        String key
        Returns:
        the key
        Default:
        "<<default>>"