Class LocalizedString
java.lang.Object
org.openehealth.ipf.commons.ihe.xds.core.metadata.LocalizedString
- All Implemented Interfaces:
Serializable
Representation of a localized string.
All members of this class are allowed to be null
.
- Author:
- Jens Riemschneider
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs a localized string.LocalizedString
(String value) Constructs a localized string.LocalizedString
(String value, String lang, String charset) Constructs a localized string. -
Method Summary
-
Constructor Details
-
LocalizedString
public LocalizedString()Constructs a localized string. -
LocalizedString
Constructs a localized string.- Parameters:
value
- the value of the string.lang
- the language that the string is in.charset
- the charset used in the string.
-
LocalizedString
Constructs a localized string.- Parameters:
value
- the value of the string.
-
-
Method Details
-
getLang
- Returns:
- the language that the string is in.
-
setLang
- Parameters:
lang
- the language that the string is in.
-
getCharset
- Returns:
- the charset used in the string.
-
setCharset
- Parameters:
charset
- the charset used in the string.
-
getValue
- Returns:
- the value of the string.
-
setValue
- Parameters:
value
- the value of the string.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-