Package io.jmix.dynattrflowui.impl
Class DynAttrMessageResolver
java.lang.Object
io.jmix.dynattrflowui.impl.DynAttrMessageResolver
- All Implemented Interfaces:
MessageResolver
@Component("dynat_DynAttrMessageResolver")
public class DynAttrMessageResolver
extends Object
implements MessageResolver
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDynAttrMessageResolver
(DynAttrMetadata dynAttrMetadata, MsgBundleTools msgBundleTools) -
Method Summary
Modifier and TypeMethodDescriptiongetPropertyCaption
(MetaProperty property, Locale locale) Returns localized caption of an entity property
-
Field Details
-
dynAttrMetadata
-
msgBundleTools
-
-
Constructor Details
-
DynAttrMessageResolver
-
-
Method Details
-
getPropertyCaption
Description copied from interface:MessageResolver
Returns localized caption of an entity property- Specified by:
getPropertyCaption
in interfaceMessageResolver
- Parameters:
property
- meta propertylocale
- locale, if value is null locale of current user is used- Returns:
- localized property caption
-