Class NotificationResourceDataDetails


  • public class NotificationResourceDataDetails
    extends Object
    Labels and gender container linked to a NotificationResourceData.

    It permits to register and provide labels according to a locale.

    Author:
    silveryocha
    • Constructor Detail

      • NotificationResourceDataDetails

        public NotificationResourceDataDetails()
    • Method Detail

      • isFeminineGenderResource

        public boolean isFeminineGenderResource()
        Is the linked NotificationResourceData a about a feminine gender resource or masculine one ?
        Returns:
        true if feminine gender, false otherwise.
      • getLocalized

        public String getLocalized​(String language,
                                   String key)
        Gets a localized data according to the given language and the specified key.
        Parameters:
        language - a language.
        key - a key.
        Returns:
        a label as string.
      • putLocalized

        public NotificationResourceDataDetails putLocalized​(String language,
                                                            String key,
                                                            String value)
        Puts a localized data according to the given language and the specified key.
        Parameters:
        language - a language.
        key - a key.
        value - a value associated to the key.
        Returns:
        itself.