Package io.jmix.core
Interface MessageResolver
- All Known Implementing Classes:
DynamicMessageResolver,DynAttrMessageResolver
@NullMarked
public interface MessageResolver
Interface to provide a caption of property, for example if the property is a dynamic attribute.
-
Method Summary
Modifier and TypeMethodDescription@Nullable StringgetPropertyCaption(MetaProperty property, @Nullable Locale locale) Returns localized caption of an entity property
-
Method Details
-
getPropertyCaption
Returns localized caption of an entity property- Parameters:
property- meta propertylocale- locale, if value is null locale of current user is used- Returns:
- localized property caption
-