@StableMinor(version="12.2", sinceVersion="10.2") public class State extends Object implements Serializable
Modifier and Type | Method and Description |
---|---|
Optional<Integer> |
getGeoNameId()
Returns an optional geo name identifier.
|
Optional<String> |
getISOCode()
Returns an optional ISO code that represents this state.
|
Optional<String> |
getName(Locale... locales)
Returns an optional name of this state that is in some of the given locales.
|
Map<Locale,String> |
getNames()
Returns an unmodifiable map of this state names, grouped by locale.
|
public Map<Locale,String> getNames()
public Optional<String> getName(Locale... locales)
locales
- the locales.public Optional<String> getISOCode()
LumisXP 12.2.0.200122 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.