@StableMinor(version="12.0", sinceVersion="10.2") public class State extends Object
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.0.0.190809 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.