public class LocalizedString extends Object implements Serializable
All members of this class are allowed to be null
.
Constructor and Description |
---|
LocalizedString()
Constructs a localized string.
|
LocalizedString(String value)
Constructs a localized string.
|
LocalizedString(String value,
String lang,
String charset)
Constructs a localized string.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
String |
getCharset() |
String |
getLang() |
String |
getValue() |
int |
hashCode() |
void |
setCharset(String charset) |
void |
setLang(String lang) |
void |
setValue(String value) |
String |
toString() |
public LocalizedString()
public LocalizedString(String value, String lang, String charset)
value
- the value of the string.lang
- the language that the string is in.charset
- the charset used in the string.public LocalizedString(String value)
value
- the value of the string.public String getLang()
public void setLang(String lang)
lang
- the language that the string is in.public String getCharset()
public void setCharset(String charset)
charset
- the charset used in the string.public String getValue()
public void setValue(String value)
value
- the value of the string.@Generated(value="lombok") public boolean equals(Object o)
@Generated(value="lombok") protected boolean canEqual(Object other)
@Generated(value="lombok") public int hashCode()
@Generated(value="lombok") public String toString()
Copyright © 2018 Open eHealth Foundation. All rights reserved.