/** * Replaces the existing display descriptions for this attribute with the given ones. * * @param newDescriptions the new descriptions for this attribute */ public void setDisplayDescriptions(@Nullable @NullableElements final Map<Locale, String> newDescriptions) { displayDescriptions = checkedNamesFrom(newDescriptions); }
/** * Replaces the existing display names for this attribute with the given ones. * * @param newNames the new names for this attribute */ public void setDisplayNames(@Nullable @NullableElements final Map<Locale, String> newNames) { displayNames = checkedNamesFrom(newNames); }