Package ai.tock.translator
Class I18nLabelStat
-
- All Implemented Interfaces:
public final class I18nLabelStatStats about I18nLabel usage.
-
-
Field Summary
Fields Modifier and Type Field Description private final Id<I18nLabel>labelIdprivate final Stringnamespaceprivate final Localelocaleprivate final UserInterfaceTypeinterfaceTypeprivate final StringconnectorIdprivate final Integercountprivate final InstantlastUpdate
-
Constructor Summary
Constructors Constructor Description I18nLabelStat(Id<I18nLabel> labelId, String namespace, Locale locale, UserInterfaceType interfaceType, String connectorId, Integer count, Instant lastUpdate)
-
Method Summary
Modifier and Type Method Description final Id<I18nLabel>getLabelId()final StringgetNamespace()final LocalegetLocale()final UserInterfaceTypegetInterfaceType()final StringgetConnectorId()final IntegergetCount()final InstantgetLastUpdate()final BooleanhasSameLanguage(I18nLocalizedLabel label)Does the locale of this stat has the same language than the specified label? -
-
Method Detail
-
getLabelId
final Id<I18nLabel> getLabelId()
-
getNamespace
final String getNamespace()
-
getInterfaceType
final UserInterfaceType getInterfaceType()
-
getConnectorId
final String getConnectorId()
-
getLastUpdate
final Instant getLastUpdate()
-
hasSameLanguage
final Boolean hasSameLanguage(I18nLocalizedLabel label)
Does the locale of this stat has the same language than the specified label?
-
-
-
-