Class ConstantHasDisplayText

    • Constructor Detail

      • ConstantHasDisplayText

        public ConstantHasDisplayText​(@Nonnull
                                      String sFixedText)
    • Method Detail

      • getDisplayText

        @Nullable
        public String getDisplayText​(@Nonnull
                                     Locale aContentLocale)
        Specified by:
        getDisplayText in interface IHasDisplayText
        Parameters:
        aContentLocale - The locale to be used for resolving. May not be null.
        Returns:
        The display text of the object in the given locale. May be null if the text could not be resolved in the passed locale.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object