public class XPFBrand extends XPFEntity
Constructor and Description |
---|
XPFBrand(@NonNull String code,
@NonNull XPFEntitySupplier<Map<Locale,String>> displayNames) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
@NonNull String |
getCode()
The brand code.
|
Optional<String> |
getDisplayName(Locale locale)
Get localized display name for a locale with fallback behavior.
|
Map<Locale,String> |
getDisplayNames()
Get the display names.
|
int |
hashCode() |
String |
toString() |
getCustomData
public XPFBrand(@NonNull @NonNull String code, @NonNull @NonNull XPFEntitySupplier<Map<Locale,String>> displayNames)
@LazyLoaded public Map<Locale,String> getDisplayNames()
public Optional<String> getDisplayName(Locale locale)
locale
- the locale to get a display name for@NonNull public @NonNull String getCode()
Copyright © 2025. All rights reserved.