Class SingleInternationalString

  • All Implemented Interfaces:
    java.io.Serializable, org.faktorips.values.InternationalString

    public class SingleInternationalString
    extends java.lang.Object
    implements org.faktorips.values.InternationalString
    Implementation of InternationalString which uses the same text for all locales.
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String get​(java.util.Locale locale)
      Getting the value string which is independent from the specified locale.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SingleInternationalString

        public SingleInternationalString​(java.lang.String text)
        Constructor.
        Parameters:
        text - the value string used for all locales.
    • Method Detail

      • get

        public java.lang.String get​(@CheckForNull
                                    java.util.Locale locale)
        Getting the value string which is independent from the specified locale.
        Specified by:
        get in interface org.faktorips.values.InternationalString
        Parameters:
        locale - this parameter is not used