public final class LocalizableString extends Object
Constructor and Description |
---|
LocalizableString(String value)
Creates an instance of LocalizableString class.
|
Modifier and Type | Method and Description |
---|---|
String |
getLocalizedValue()
Get the localizedValue property: the locale specific value.
|
String |
getValue()
Get the value property: the invariant value.
|
LocalizableString |
setLocalizedValue(String localizedValue)
Set the localizedValue property: the locale specific value.
|
void |
validate()
Validates the instance.
|
public LocalizableString(String value)
value
- the value value to set.public String getValue()
public String getLocalizedValue()
public LocalizableString setLocalizedValue(String localizedValue)
localizedValue
- the localizedValue value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021. All rights reserved.