@Test public void testConstructor() { LocaleCode localeCode = new LocaleCode("en"); assertThat(localeCode.getId()).isEqualTo("en"); }
@Size(max = 128) @NotNull public String getId() { return id; }
LocaleCode implements Serializable { @Size(max = 128) @NotNull public String getId() { return id; } }
LocaleCode implements Serializable { @Size(max = 128) @NotNull public String getId() { return id; } LocaleCode(@NotNull String localeCode); @SuppressWarnings("unused") protected  LocaleCode(); }
LocaleCode implements Serializable { @Size(max = 128) @NotNull public String getId() { return id; } LocaleCode(@NotNull String localeCode); @SuppressWarnings("unused") protected  LocaleCode(); static LocaleCode fromJavaName(String localeName); @SuppressWarnings("null") @NotNull String toJavaName(); @NotNull String toString(); @NotNull String getLanguage(); @Size(max = 128) @NotNull String getId(); @Override boolean equals(@Nullable Object o); @Override int hashCode(); }
LocaleCode implements Serializable { @Size(max = 128) @NotNull public String getId() { return id; } LocaleCode(@NotNull String localeCode); @SuppressWarnings("unused") protected  LocaleCode(); static LocaleCode fromJavaName(String localeName); @SuppressWarnings("null") @NotNull String toJavaName(); @NotNull String toString(); @NotNull String getLanguage(); @Size(max = 128) @NotNull String getId(); @Override boolean equals(@Nullable Object o); @Override int hashCode(); static final LocaleCode EN; static final LocaleCode EN_US; static final LocaleCode DE; static final LocaleCode FR; static final LocaleCode IT; static final LocaleCode ES; static final LocaleCode JA; static final LocaleCode KO; static final LocaleCode PT; static final LocaleCode RU; static final LocaleCode ZH_HANS; static final LocaleCode ZH_HANT; }