Class SingleInternationalString

java.lang.Object
org.faktorips.testsupport.SingleInternationalString
All Implemented Interfaces:
Serializable, org.faktorips.values.InternationalString

public class SingleInternationalString extends Object implements org.faktorips.values.InternationalString
Implementation of InternationalString which uses the same text for all locales.
See Also:
  • Constructor Details

    • SingleInternationalString

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

    • get

      public String get(@CheckForNull 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