public interface Describable extends IdentifierNameDescriptionEntity, HibernateRelations.HasId, HibernateRelations.HasParameters
| Modifier and Type | Field and Description |
|---|---|
static String |
LOCALE_REGEX |
STA_IDENTIFIERIDENTIFIERIDENTIFIER_CODESPACENAMENAME_CODESPACEDESCRIPTIONPARAMETERS| Modifier and Type | Method and Description |
|---|---|
default String |
getCountryCode(String locale) |
default String |
getDescriptionI18n(String locale) |
default String |
getLabelFrom(String locale) |
default Set<Map<String,Object>> |
getMappedParameters(String locale) |
default Locale |
getMatchingLocale(Set<I18nEntity<? extends Describable>> translations,
String queriedLocale) |
default String |
getNameI18n(String locale) |
ServiceEntity |
getService() |
default I18nEntity<? extends Describable> |
getTranslation(String locale) |
Set<I18nEntity<? extends Describable>> |
getTranslations() |
default boolean |
hasService() |
default boolean |
hasTranslations() |
default boolean |
isDomainAvailable() |
default boolean |
isi18nNameAvailable(String locale) |
default boolean |
isNameAvailable() |
default boolean |
noTranslationAvailable(String locale) |
DescribableEntity |
setService(ServiceEntity service) |
void |
setTranslations(Set<I18nEntity<? extends Describable>> translations) |
addFragment, addHost, addPath, addPort, addValue, addValue, addValues, generateUUID, getStaIdentifier, isSetStaIdentifier, processIdentifierForSta, setStaIdentifiergetDomain, getIdentifier, isSetDomain, isSetIdentifier, setDomain, setIdentifier, setIdentifiergetIdentifierCodespace, isSetIdentifierCodespace, setIdentifierCodespacegetName, isSetName, setNamegetNameCodespace, isSetNameCodespace, setNameCodespacegetDescription, isSetDescription, setDescriptiongetId, setIdgetParameters, hasParameters, setParametersstatic final String LOCALE_REGEX
ServiceEntity getService()
DescribableEntity setService(ServiceEntity service)
Set<I18nEntity<? extends Describable>> getTranslations()
void setTranslations(Set<I18nEntity<? extends Describable>> translations)
default boolean hasTranslations()
default boolean hasService()
default boolean isNameAvailable()
default boolean isDomainAvailable()
default boolean isi18nNameAvailable(String locale)
default boolean noTranslationAvailable(String locale)
default I18nEntity<? extends Describable> getTranslation(String locale)
default Locale getMatchingLocale(Set<I18nEntity<? extends Describable>> translations, String queriedLocale)
Copyright © 2015–2020 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.