Package mc.core.model.i18n
Interface Resource
- All Superinterfaces:
IBaseEntity,ICoreEntity,Serializable
- All Known Implementing Classes:
TextSet
the former Resource entity transformed to an interface with static helper and methods to keep (a lot of) existing
code compatible
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetResourceText(Resource resource, Locale locale, Locale masterLocale) static StringgetResourceTextSubst(Resource resource, Locale locale) default booleanisEmpty()static Resourceconstruct new, transient resourcestatic Resourceconstruct new, transient resource as copydefault voiddefault TextSetunwrap()Methods inherited from interface mc.core.model.base.IBaseEntity
getId, setId
-
Method Details
-
getText
-
getValue
-
getValues
-
isEmpty
default boolean isEmpty() -
setText
-
unwrap
-
of
construct new, transient resource -
of
construct new, transient resource as copy -
getResourceTextSubst
-
getResourceText
-