Class LocalizableStringInner


  • public final class LocalizableStringInner
    extends Object
    The localizable string class.
    • Constructor Detail

      • LocalizableStringInner

        public LocalizableStringInner()
    • Method Detail

      • value

        public String value()
        Get the value property: the invariant value.
        Returns:
        the value value.
      • withValue

        public LocalizableStringInner withValue​(String value)
        Set the value property: the invariant value.
        Parameters:
        value - the value value to set.
        Returns:
        the LocalizableStringInner object itself.
      • localizedValue

        public String localizedValue()
        Get the localizedValue property: the locale specific value.
        Returns:
        the localizedValue value.
      • withLocalizedValue

        public LocalizableStringInner withLocalizedValue​(String localizedValue)
        Set the localizedValue property: the locale specific value.
        Parameters:
        localizedValue - the localizedValue value to set.
        Returns:
        the LocalizableStringInner object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.